#6C218B#6C218B
#6C218B is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.170 H 313.8°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #6C218B |
|---|---|
| RGB | rgb(108, 33, 139) |
| HSL | hsl(282, 62%, 34%) |
| HSV | hsv(282, 76%, 55%) |
| CMYK | cmyk(22.3%, 76.3%, 0%, 45.5%) |
| CIE-LAB | lab(29.76, 49.23, -43.58) |
| CIE-LCH | lch(29.76, 65.75, 318.49°) |
| OKLab | oklab(41.65% 0.118 -0.123) |
| OKLCH | oklch(41.65% 0.17 313.8) |
| XYZ | xyz(11.3876, 6.1403, 25.0064) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.74
Rebeccapurple
#663399
ΔE00 4.54
Purple
#800080
ΔE00 5.48
Darkish Purple
#751973
ΔE00 5.88
Darkmagenta
#8B008B
ΔE00 6.19
Indigo
#4B0082
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C218B #408B21
analogous
#37218B #6C218B #8B2175
triadic
#6C218B #8B6C21 #218B6C
tetradic
#6C218B #8B3721 #408B21 #21758B
square
#6C218B #8B3721 #408B21 #21758B
split-complementary
#6C218B #758B21 #218B37
monochromatic
#1F0A28 #46155A #6C218B #922DBC #AF51D6
Accessibility & contrast
On white
9.43
#6C218B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#6C218B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C218B
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C218B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C218B | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#184889
Tritanopia (blue-blind)
#693954
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #6c218b; /* rgb */ color: rgb(108, 33, 139); /* oklch */ color: oklch(41.6% 0.170 313.8);
Tailwind
colors: {
custom: {
50: '#9a65ad',
500: '#6c218b',
950: '#000000',
},
}SCSS
$custom: #6c218b; $custom-light: #9a65ad; $custom-dark: #000000;
JSON
{
"hex": "#6c218b",
"rgb": {
"r": 108,
"g": 33,
"b": 139
},
"hsl": {
"h": 282.453,
"s": 61.628,
"l": 33.725
},
"oklch": {
"l": 0.41645,
"c": 0.17048,
"h": 313.8
},
"luminance": 0.0614
}Semantic roles & 50–950 ramp
primary
#6C218B
secondary
#6EB94F
accent
#E54372
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F