CSS named colour

Slate Blue

#6a5acd

A CSS named colour: slateblue is valid anywhere a colour is expected.

RGB
rgb(106 90 205)
HSL
248°, 53%, 58%
OKLCh
54.4% 0.171 285.5

Open in the picker

Slate Blue in every format

Web & CSSThe everyday formats for stylesheets and design tools.

Hex#6a5acd
RGBrgb(106 90 205)
RGB legacyrgb(106, 90, 205)
RGB percentrgb(41.57% 35.29% 80.39%)
HSLhsl(248.3 53.5% 57.8%)
HSL legacyhsl(248.3, 53.5%, 57.8%)
HSV / HSBhsv(248.3, 56.1%, 80.4%)
HWBhwb(248.3 35.3% 19.6%)
Nearest nameslateblue
CMYKcmyk(48.3%, 56.1%, 0%, 19.6%)Naive conversion. Real print work needs an ICC profile.

Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.

OKLChoklch(54.357% 0.17123 285.541)Modern CSS colour space for even palettes — better than HSL when building scales.
OKLaboklab(54.357% 0.04588 -0.16497)
CIE LChlch(44.571% 65.778 296.793)
CIE Lablab(44.571% 29.651 -58.716)
Display P3color(display-p3 0.4054 0.3552 0.7771)
Rec. 2020color(rec2020 0.3696 0.3094 0.7463)
srgb-linearcolor(srgb-linear 0.1441 0.1022 0.6105)Light-linear sRGB — the same numbers a shader wants for maths.
CIE XYZ (D65)color(xyz-d65 0.2062 0.1478 0.5953)

ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.

GLSL vec3 — sRGBvec3(0.416, 0.353, 0.804)Encoded values. Use when writing straight to the framebuffer.
GLSL vec3 — linearvec3(0.144, 0.102, 0.61)Light-linear values. Use for lighting, blending and mixing.
GLSL vec4 — sRGBvec4(0.416, 0.353, 0.804, 1.0)
GLSL vec4 — linearvec4(0.144, 0.102, 0.61, 1.0)
GLSL ivec3ivec3(106, 90, 205)
HLSL float3 — sRGBfloat3(0.416, 0.353, 0.804)
HLSL float3 — linearfloat3(0.144, 0.102, 0.61)
HLSL float4 — sRGBfloat4(0.416, 0.353, 0.804, 1.0)
HLSL half4 — sRGBhalf4(0.416, 0.353, 0.804, 1.0)
WGSL vec3f — sRGBvec3f(0.416, 0.353, 0.804)
WGSL vec4f — sRGBvec4f(0.416, 0.353, 0.804, 1.0)
WGSL vec3<f32> — linearvec3<f32>(0.144, 0.102, 0.61)

Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.

Unity Colornew Color(0.416f, 0.353f, 0.804f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255.
Unity Color32new Color32(106, 90, 205, 255)
Unreal FLinearColorFLinearColor(0.1441f, 0.1022f, 0.6105f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255.
Unreal FColorFColor(106, 90, 205, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor.
Godot ColorColor(0.416, 0.353, 0.804, 1)
Flutter ColorColor(0xFF6A5ACD)Packed ARGB, so alpha comes first.
Android ColorColor.rgb(106, 90, 205)
SwiftUI ColorColor(red: 0.416, green: 0.353, blue: 0.804)
UIKit UIColorUIColor(red: 0.416, green: 0.353, blue: 0.804, alpha: 1)

Raw valuesPacked integers and plain arrays.

0x hex0x6A5ACD
0x hex (ARGB)0xFF6A5ACD
Array 0–1[0.416, 0.353, 0.804]
Array 0–255[106, 90, 205]
Decimal integer6970061

Contrast and accessibility

WCAG 2 ratios are what audits and legislation reference. APCA is shown alongside because WCAG 2 is known to misjudge mid-tone backgrounds, and it is the basis of the WCAG 3 draft.

PairingWCAG 2 ratioLevelAPCASuitable for
Slate Blue on white5.31:1AALc 76Body text, 18px and up
Slate Blue on black3.96:1AA LargeLc 26Not usable for text

Slate Blue text on a white background

Slate Blue text on a black background

White text on Slate Blue

Black text on Slate Blue

Tonal scale

Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.

  • 50#f5f5ff
  • 100#eaeaff
  • 200#d7d6ff
  • 300#bebbff
  • 400#a197ff
  • 500#8477ed
  • 600#6c5dcd
  • 700#5647ad
  • 800#443491
  • 900#352579
  • 950#1e0d52

Tints and shades

Mixed perceptually toward white and black, so the steps feel evenly spaced.

  • Tint 1#7f77d7
  • Tint 2#9792e1
  • Tint 3#afadea
  • Tint 4#c9c8f2
  • Tint 5#e3e4f9
  • Shade 1#5245a0
  • Shade 2#3a3176
  • Shade 3#241e4e
  • Shade 4#100c29
  • Shade 5#020209

Colours that work with Slate Blue

Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.

  • #7c7300
  • #bb4300
  • #00885c
  • #156dd0
  • #9549b2

Closest CSS names

  • slateblueexact match
  • royalblueΔEok 0.064
  • mediumslateblueΔEok 0.065
  • mediumpurpleΔEok 0.090
  • bluevioletΔEok 0.098
  • darkorchidΔEok 0.105