#6F218C#6F218C
#6F218C is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.173 H 314.9°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #6F218C |
|---|---|
| RGB | rgb(111, 33, 140) |
| HSL | hsl(284, 62%, 34%) |
| HSV | hsv(284, 76%, 55%) |
| CMYK | cmyk(20.7%, 76.4%, 0%, 45.1%) |
| CIE-LAB | lab(30.31, 50.06, -43.30) |
| CIE-LCH | lch(30.31, 66.19, 319.15°) |
| OKLab | oklab(42.15% 0.1218 -0.1221) |
| OKLCH | oklch(42.15% 0.173 314.9) |
| XYZ | xyz(11.8322, 6.3611, 25.4104) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.27
Rebeccapurple
#663399
ΔE00 4.68
Purple
#800080
ΔE00 5.10
Darkish Purple
#751973
ΔE00 5.67
Darkmagenta
#8B008B
ΔE00 5.67
Indigo
#4B0082
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F218C #3E8C21
analogous
#3A218C #6F218C #8C2174
triadic
#6F218C #8C6F21 #218C6F
tetradic
#6F218C #8C3A21 #3E8C21 #21748C
square
#6F218C #8C3A21 #3E8C21 #21748C
split-complementary
#6F218C #748C21 #218C3A
monochromatic
#200A29 #48155A #6F218C #962DBE #B251D6
Accessibility & contrast
On white
9.24
#6F218C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#6F218C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F218C
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F218C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F218C | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#1C498A
Tritanopia (blue-blind)
#6D3955
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #6f218c; /* rgb */ color: rgb(111, 33, 140); /* oklch */ color: oklch(42.1% 0.173 314.9);
Tailwind
colors: {
custom: {
50: '#9c65ae',
500: '#6f218c',
950: '#000000',
},
}SCSS
$custom: #6f218c; $custom-light: #9c65ae; $custom-dark: #000000;
JSON
{
"hex": "#6f218c",
"rgb": {
"r": 111,
"g": 33,
"b": 140
},
"hsl": {
"h": 283.738,
"s": 61.85,
"l": 33.922
},
"oklch": {
"l": 0.42147,
"c": 0.17251,
"h": 314.9
},
"luminance": 0.06361
}Semantic roles & 50–950 ramp
primary
#6F218C
secondary
#6CB94F
accent
#E5436F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F