#6C2199#6C2199
#6C2199 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.184 H 308.8°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #6C2199 |
|---|---|
| RGB | rgb(108, 33, 153) |
| HSL | hsl(278, 65%, 36%) |
| HSV | hsv(278, 78%, 60%) |
| CMYK | cmyk(29.4%, 78.4%, 0%, 40%) |
| CIE-LAB | lab(30.82, 52.30, -50.48) |
| CIE-LCH | lch(30.82, 72.68, 316.01°) |
| OKLab | oklab(42.72% 0.1153 -0.1433) |
| OKLCH | oklch(42.72% 0.184 308.8) |
| XYZ | xyz(12.4768, 6.5760, 30.7428) |
| Luminance | 0.0658 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.36
Rebeccapurple
#663399
ΔE00 3.52
Purple
#800080
ΔE00 7.20
Darkmagenta
#8B008B
ΔE00 7.32
Indigo
#4B0082
ΔE00 7.73
Darkish Purple
#751973
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C2199 #4E9921
analogous
#302199 #6C2199 #99218A
triadic
#6C2199 #996C21 #21996C
tetradic
#6C2199 #993021 #4E9921 #218A99
square
#6C2199 #993021 #4E9921 #218A99
split-complementary
#6C2199 #8A9921 #219930
monochromatic
#250B34 #481667 #6C2199 #902CCB #AA59DB
Accessibility & contrast
On white
9.07
#6C2199 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#6C2199 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C2199
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C2199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C2199 | 1.00 | 9.07 | 2.32 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#653F5C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6c2199; /* rgb */ color: rgb(108, 33, 153); /* oklch */ color: oklch(42.7% 0.184 308.8);
Tailwind
colors: {
custom: {
50: '#9b65b8',
500: '#6c2199',
950: '#000000',
},
}SCSS
$custom: #6c2199; $custom-light: #9b65b8; $custom-dark: #000000;
JSON
{
"hex": "#6c2199",
"rgb": {
"r": 108,
"g": 33,
"b": 153
},
"hsl": {
"h": 277.5,
"s": 64.516,
"l": 36.471
},
"oklch": {
"l": 0.42724,
"c": 0.18398,
"h": 308.8
},
"luminance": 0.06576
}Semantic roles & 50–950 ramp
primary
#6C2199
secondary
#7EBF56
accent
#E8407F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80