#6F2170#6F2170
#6F2170 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.3% C 0.147 H 327.4°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #6F2170 |
|---|---|
| RGB | rgb(111, 33, 112) |
| HSL | hsl(299, 54%, 28%) |
| HSV | hsv(299, 71%, 44%) |
| CMYK | cmyk(0.9%, 70.5%, 0%, 56.1%) |
| CIE-LAB | lab(28.48, 44.51, -28.60) |
| CIE-LCH | lch(28.48, 52.91, 327.28°) |
| OKLab | oklab(40.26% 0.1236 -0.0792) |
| OKLCH | oklch(40.26% 0.147 327.4) |
| XYZ | xyz(10.0239, 5.6378, 15.8863) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 1.56
Purple
#800080
ΔE00 4.51
Rich Purple
#720058
ΔE00 6.14
Darkmagenta
#8B008B
ΔE00 6.27
Grape Purple
#5D1451
ΔE00 6.45
Grape
#6C3461
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F2170 #227021
analogous
#472170 #6F2170 #702149
triadic
#6F2170 #706F21 #21706F
tetradic
#6F2170 #704721 #227021 #214970
square
#6F2170 #704721 #227021 #214970
split-complementary
#6F2170 #497021 #217047
monochromatic
#170718 #401341 #6F2170 #9E2F9F #C644C8
Accessibility & contrast
On white
9.87
#6F2170 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#6F2170 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F2170
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F2170 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F2170 | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#143D72
Deuteranopia (green-blind)
#34476E
Tritanopia (blue-blind)
#722C46
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #6f2170; /* rgb */ color: rgb(111, 33, 112); /* oklch */ color: oklch(40.3% 0.147 327.4);
Tailwind
colors: {
custom: {
50: '#9b6499',
500: '#6f2170',
950: '#000000',
},
}SCSS
$custom: #6f2170; $custom-light: #9b6499; $custom-dark: #000000;
JSON
{
"hex": "#6f2170",
"rgb": {
"r": 111,
"g": 33,
"b": 112
},
"hsl": {
"h": 299.241,
"s": 54.483,
"l": 28.431
},
"oklch": {
"l": 0.40258,
"c": 0.14679,
"h": 327.4
},
"luminance": 0.05637
}Semantic roles & 50–950 ramp
primary
#6F2170
secondary
#4AA449
accent
#DE4A4C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E