#6F2198#6F2198
#6F2198 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.1% C 0.184 H 310.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #6F2198 |
|---|---|
| RGB | rgb(111, 33, 152) |
| HSL | hsl(279, 64%, 36%) |
| HSV | hsv(279, 78%, 60%) |
| CMYK | cmyk(27%, 78.3%, 0%, 40.4%) |
| CIE-LAB | lab(31.19, 52.63, -49.24) |
| CIE-LCH | lch(31.19, 72.08, 316.91°) |
| OKLab | oklab(43.06% 0.1197 -0.1396) |
| OKLCH | oklch(43.06% 0.184 310.6) |
| XYZ | xyz(12.7658, 6.7345, 30.3271) |
| Luminance | 0.0673 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.76
Rebeccapurple
#663399
ΔE00 3.71
Purple
#800080
ΔE00 6.66
Darkmagenta
#8B008B
ΔE00 6.70
Darkish Purple
#751973
ΔE00 7.70
Indigo
#4B0082
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F2198 #4A9821
analogous
#342198 #6F2198 #982186
triadic
#6F2198 #986F21 #21986F
tetradic
#6F2198 #983421 #4A9821 #218698
square
#6F2198 #983421 #4A9821 #218698
split-complementary
#6F2198 #869821 #219834
monochromatic
#260B33 #4A1666 #6F2198 #942CCA #AE59DB
Accessibility & contrast
On white
8.95
#6F2198 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#6F2198 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F2198
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F2198 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F2198 | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#004B96
Tritanopia (blue-blind)
#693E5C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6f2198; /* rgb */ color: rgb(111, 33, 152); /* oklch */ color: oklch(43.1% 0.184 310.6);
Tailwind
colors: {
custom: {
50: '#9d66b7',
500: '#6f2198',
950: '#000000',
},
}SCSS
$custom: #6f2198; $custom-light: #9d66b7; $custom-dark: #000000;
JSON
{
"hex": "#6f2198",
"rgb": {
"r": 111,
"g": 33,
"b": 152
},
"hsl": {
"h": 279.328,
"s": 64.324,
"l": 36.275
},
"oklch": {
"l": 0.43055,
"c": 0.18389,
"h": 310.6
},
"luminance": 0.06734
}Semantic roles & 50–950 ramp
primary
#6F2198
secondary
#7ABF56
accent
#E7407A
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80