#6F2172#6F2172
#6F2172 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.4% C 0.149 H 326.3°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #6F2172 |
|---|---|
| RGB | rgb(111, 33, 114) |
| HSL | hsl(298, 55%, 29%) |
| HSV | hsv(298, 71%, 45%) |
| CMYK | cmyk(2.6%, 71.1%, 0%, 55.3%) |
| CIE-LAB | lab(28.60, 44.88, -29.69) |
| CIE-LCH | lch(28.60, 53.81, 326.51°) |
| OKLab | oklab(40.38% 0.1237 -0.0824) |
| OKLCH | oklch(40.38% 0.149 326.3) |
| XYZ | xyz(10.1365, 5.6828, 16.4793) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 1.53
Purple
#800080
ΔE00 4.29
Darkmagenta
#8B008B
ΔE00 6.04
Rich Purple
#720058
ΔE00 6.51
Grape Purple
#5D1451
ΔE00 6.80
Grape
#6C3461
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F2172 #247221
analogous
#472172 #6F2172 #72214D
triadic
#6F2172 #726F21 #21726F
tetradic
#6F2172 #724721 #247221 #214D72
square
#6F2172 #724721 #247221 #214D72
split-complementary
#6F2172 #4D7221 #217247
monochromatic
#170718 #411343 #6F2172 #9D2FA1 #C444C9
Accessibility & contrast
On white
9.83
#6F2172 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#6F2172 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F2172
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F2172 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F2172 | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#113D74
Deuteranopia (green-blind)
#334770
Tritanopia (blue-blind)
#722D47
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #6f2172; /* rgb */ color: rgb(111, 33, 114); /* oklch */ color: oklch(40.4% 0.149 326.3);
Tailwind
colors: {
custom: {
50: '#9b649b',
500: '#6f2172',
950: '#000000',
},
}SCSS
$custom: #6f2172; $custom-light: #9b649b; $custom-dark: #000000;
JSON
{
"hex": "#6f2172",
"rgb": {
"r": 111,
"g": 33,
"b": 114
},
"hsl": {
"h": 297.778,
"s": 55.102,
"l": 28.824
},
"oklch": {
"l": 0.40381,
"c": 0.14856,
"h": 326.3
},
"luminance": 0.05682
}Semantic roles & 50–950 ramp
primary
#6F2172
secondary
#4DA549
accent
#DE494F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E