#6C2292#6C2292
#6C2292 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.176 H 311.1°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #6C2292 |
|---|---|
| RGB | rgb(108, 34, 146) |
| HSL | hsl(280, 62%, 35%) |
| HSV | hsv(280, 77%, 57%) |
| CMYK | cmyk(26%, 76.7%, 0%, 42.7%) |
| CIE-LAB | lab(30.42, 50.36, -46.84) |
| CIE-LCH | lch(30.42, 68.78, 317.07°) |
| OKLab | oklab(42.27% 0.1158 -0.1326) |
| OKLCH | oklch(42.27% 0.176 311.1) |
| XYZ | xyz(11.9437, 6.4078, 27.7962) |
| Luminance | 0.0641 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.34
Rebeccapurple
#663399
ΔE00 3.73
Purple
#800080
ΔE00 6.36
Darkmagenta
#8B008B
ΔE00 6.72
Darkish Purple
#751973
ΔE00 7.06
Indigo
#4B0082
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C2292 #489222
analogous
#342292 #6C2292 #922280
triadic
#6C2292 #926C22 #22926C
tetradic
#6C2292 #923422 #489222 #228092
square
#6C2292 #923422 #489222 #228092
split-complementary
#6C2292 #809222 #229234
monochromatic
#230B2F #471660 #6C2292 #912EC4 #AC57D8
Accessibility & contrast
On white
9.20
#6C2292 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#6C2292 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C2292
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C2292 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C2292 | 1.00 | 9.20 | 2.28 | 9.20 |
| #FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#0B4990
Tritanopia (blue-blind)
#673C59
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6c2292; /* rgb */ color: rgb(108, 34, 146); /* oklch */ color: oklch(42.3% 0.176 311.1);
Tailwind
colors: {
custom: {
50: '#9a65b3',
500: '#6c2292',
950: '#000000',
},
}SCSS
$custom: #6c2292; $custom-light: #9a65b3; $custom-dark: #000000;
JSON
{
"hex": "#6c2292",
"rgb": {
"r": 108,
"g": 34,
"b": 146
},
"hsl": {
"h": 279.643,
"s": 62.222,
"l": 35.294
},
"oklch": {
"l": 0.42271,
"c": 0.17611,
"h": 311.1
},
"luminance": 0.06408
}Semantic roles & 50–950 ramp
primary
#6C2292
secondary
#77BC54
accent
#E5437A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80