#6F217C#6F217C
#6F217C is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.158 H 321.6°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #6F217C |
|---|---|
| RGB | rgb(111, 33, 124) |
| HSL | hsl(291, 58%, 31%) |
| HSV | hsv(291, 73%, 49%) |
| CMYK | cmyk(10.5%, 73.4%, 0%, 51.4%) |
| CIE-LAB | lab(29.22, 46.80, -35.05) |
| CIE-LCH | lch(29.22, 58.47, 323.17°) |
| OKLab | oklab(41.03% 0.1235 -0.098) |
| OKLCH | oklch(41.03% 0.158 321.6) |
| XYZ | xyz(10.7371, 5.9230, 19.6426) |
| Luminance | 0.0592 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 2.78
Purple
#800080
ΔE00 3.85
Darkmagenta
#8B008B
ΔE00 5.33
Purple (survey)
#7E1E9C
ΔE00 5.57
Rebeccapurple
#663399
ΔE00 7.10
Warm Purple
#952E8F
ΔE00 8.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F217C #2E7C21
analogous
#41217C #6F217C #7C215B
triadic
#6F217C #7C6F21 #217C6F
tetradic
#6F217C #7C4121 #2E7C21 #215B7C
square
#6F217C #7C4121 #2E7C21 #215B7C
split-complementary
#6F217C #5B7C21 #217C41
monochromatic
#18071B #44144C #6F217C #9A2EAC #BB49CF
Accessibility & contrast
On white
9.61
#6F217C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#6F217C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F217C
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F217C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F217C | 1.00 | 9.61 | 2.18 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#2C487A
Tritanopia (blue-blind)
#70324C
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #6f217c; /* rgb */ color: rgb(111, 33, 124); /* oklch */ color: oklch(41.0% 0.158 321.6);
Tailwind
colors: {
custom: {
50: '#9b64a2',
500: '#6f217c',
950: '#000000',
},
}SCSS
$custom: #6f217c; $custom-light: #9b64a2; $custom-dark: #000000;
JSON
{
"hex": "#6f217c",
"rgb": {
"r": 111,
"g": 33,
"b": 124
},
"hsl": {
"h": 291.429,
"s": 57.962,
"l": 30.784
},
"oklch": {
"l": 0.41025,
"c": 0.1576,
"h": 321.6
},
"luminance": 0.05922
}Semantic roles & 50–950 ramp
primary
#6F217C
secondary
#58AF4A
accent
#E1475D
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F