#6F2896#6F2896
#6F2896 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.6% C 0.174 H 310.6°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #6F2896 |
|---|---|
| RGB | rgb(111, 40, 150) |
| HSL | hsl(279, 58%, 37%) |
| HSV | hsv(279, 73%, 59%) |
| CMYK | cmyk(26%, 73.3%, 0%, 41.2%) |
| CIE-LAB | lab(32.03, 49.37, -46.66) |
| CIE-LCH | lch(32.03, 67.94, 316.62°) |
| OKLab | oklab(43.6% 0.1133 -0.1321) |
| OKLCH | oklch(43.6% 0.174 310.6) |
| XYZ | xyz(12.8183, 7.0994, 29.5433) |
| Luminance | 0.0710 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.87
Rebeccapurple
#663399
ΔE00 2.93
Darkmagenta
#8B008B
ΔE00 6.81
Purple
#800080
ΔE00 6.83
Darkish Purple
#751973
ΔE00 7.55
Indigo
#4B0082
ΔE00 8.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F2896 #4F9628
analogous
#382896 #6F2896 #962886
triadic
#6F2896 #966F28 #28966F
tetradic
#6F2896 #963828 #4F9628 #288696
square
#6F2896 #963828 #4F9628 #288696
split-complementary
#6F2896 #869628 #289638
monochromatic
#270E35 #4B1B66 #6F2896 #9335C6 #AD63D5
Accessibility & contrast
On white
8.68
#6F2896 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#6F2896 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F2896
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F2896 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F2896 | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#144D94
Tritanopia (blue-blind)
#6A415C
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #6f2896; /* rgb */ color: rgb(111, 40, 150); /* oklch */ color: oklch(43.6% 0.174 310.6);
Tailwind
colors: {
custom: {
50: '#9c69b6',
500: '#6f2896',
950: '#000000',
},
}SCSS
$custom: #6f2896; $custom-light: #9c69b6; $custom-dark: #000000;
JSON
{
"hex": "#6f2896",
"rgb": {
"r": 111,
"g": 40,
"b": 150
},
"hsl": {
"h": 278.727,
"s": 57.895,
"l": 37.255
},
"oklch": {
"l": 0.436,
"c": 0.17402,
"h": 310.6
},
"luminance": 0.07099
}Semantic roles & 50–950 ramp
primary
#6F2896
secondary
#7FBB5F
accent
#E1477D
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80