#6C2299#6C2299
#6C2299 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.183 H 308.7°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #6C2299 |
|---|---|
| RGB | rgb(108, 34, 153) |
| HSL | hsl(277, 64%, 37%) |
| HSV | hsv(277, 78%, 60%) |
| CMYK | cmyk(29.4%, 77.8%, 0%, 40%) |
| CIE-LAB | lab(30.95, 51.91, -50.26) |
| CIE-LCH | lch(30.95, 72.26, 315.92°) |
| OKLab | oklab(42.82% 0.1145 -0.1427) |
| OKLCH | oklch(42.82% 0.183 308.7) |
| XYZ | xyz(12.5050, 6.6323, 30.7522) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.35
Rebeccapurple
#663399
ΔE00 3.38
Purple
#800080
ΔE00 7.25
Darkmagenta
#8B008B
ΔE00 7.35
Indigo
#4B0082
ΔE00 7.83
Darkish Purple
#751973
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C2299 #4F9922
analogous
#312299 #6C2299 #99228B
triadic
#6C2299 #996C22 #22996C
tetradic
#6C2299 #993122 #4F9922 #228B99
square
#6C2299 #993122 #4F9922 #228B99
split-complementary
#6C2299 #8B9922 #229931
monochromatic
#250C35 #491767 #6C2299 #8F2DCB #AA5BDB
Accessibility & contrast
On white
9.03
#6C2299 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#6C2299 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C2299
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C2299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C2299 | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#653F5D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6c2299; /* rgb */ color: rgb(108, 34, 153); /* oklch */ color: oklch(42.8% 0.183 308.7);
Tailwind
colors: {
custom: {
50: '#9b66b8',
500: '#6c2299',
950: '#000000',
},
}SCSS
$custom: #6c2299; $custom-light: #9b66b8; $custom-dark: #000000;
JSON
{
"hex": "#6c2299",
"rgb": {
"r": 108,
"g": 34,
"b": 153
},
"hsl": {
"h": 277.311,
"s": 63.636,
"l": 36.667
},
"oklch": {
"l": 0.42817,
"c": 0.18293,
"h": 308.7
},
"luminance": 0.06632
}Semantic roles & 50–950 ramp
primary
#6C2299
secondary
#7FBF58
accent
#E74180
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80