#6F2299#6F2299
#6F2299 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.184 H 310.2°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #6F2299 |
|---|---|
| RGB | rgb(111, 34, 153) |
| HSL | hsl(279, 64%, 37%) |
| HSV | hsv(279, 78%, 60%) |
| CMYK | cmyk(27.5%, 77.8%, 0%, 40%) |
| CIE-LAB | lab(31.40, 52.47, -49.52) |
| CIE-LCH | lch(31.40, 72.15, 316.66°) |
| OKLab | oklab(43.23% 0.1186 -0.1404) |
| OKLCH | oklch(43.23% 0.184 310.2) |
| XYZ | xyz(12.8762, 6.8238, 30.7696) |
| Luminance | 0.0682 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.77
Rebeccapurple
#663399
ΔE00 3.55
Darkmagenta
#8B008B
ΔE00 6.83
Purple
#800080
ΔE00 6.84
Darkish Purple
#751973
ΔE00 7.88
Indigo
#4B0082
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F2299 #4C9922
analogous
#342299 #6F2299 #992288
triadic
#6F2299 #996F22 #22996F
tetradic
#6F2299 #993422 #4C9922 #228899
square
#6F2299 #993422 #4C9922 #228899
split-complementary
#6F2299 #889922 #229934
monochromatic
#260C35 #4B1767 #6F2299 #932DCB #AD5BDB
Accessibility & contrast
On white
8.88
#6F2299 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#6F2299 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6F2299
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F2299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F2299 | 1.00 | 8.88 | 2.36 | 8.88 |
| #FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#693F5D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #6f2299; /* rgb */ color: rgb(111, 34, 153); /* oklch */ color: oklch(43.2% 0.184 310.2);
Tailwind
colors: {
custom: {
50: '#9d66b8',
500: '#6f2299',
950: '#000000',
},
}SCSS
$custom: #6f2299; $custom-light: #9d66b8; $custom-dark: #000000;
JSON
{
"hex": "#6f2299",
"rgb": {
"r": 111,
"g": 34,
"b": 153
},
"hsl": {
"h": 278.824,
"s": 63.636,
"l": 36.667
},
"oklch": {
"l": 0.43225,
"c": 0.18381,
"h": 310.2
},
"luminance": 0.06823
}Semantic roles & 50–950 ramp
primary
#6F2299
secondary
#7CBF58
accent
#E7417C
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80