#6C229A#6C229A
#6C229A is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.184 H 308.4°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #6C229A |
|---|---|
| RGB | rgb(108, 34, 154) |
| HSL | hsl(277, 64%, 37%) |
| HSV | hsv(277, 78%, 60%) |
| CMYK | cmyk(29.9%, 77.9%, 0%, 39.6%) |
| CIE-LAB | lab(31.03, 52.14, -50.75) |
| CIE-LCH | lch(31.03, 72.76, 315.77°) |
| OKLab | oklab(42.9% 0.1142 -0.1441) |
| OKLCH | oklch(42.9% 0.184 308.4) |
| XYZ | xyz(12.5879, 6.6655, 31.1890) |
| Luminance | 0.0667 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.36
Purple (survey)
#7E1E9C
ΔE00 3.38
Purple
#800080
ΔE00 7.38
Darkmagenta
#8B008B
ΔE00 7.44
Indigo
#4B0082
ΔE00 7.87
Purple Blue
#5D21D0
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C229A #509A22
analogous
#30229A #6C229A #9A228C
triadic
#6C229A #9A6C22 #229A6C
tetradic
#6C229A #9A3022 #509A22 #228C9A
square
#6C229A #9A3022 #509A22 #228C9A
split-complementary
#6C229A #8C9A22 #229A30
monochromatic
#260C36 #491768 #6C229A #8F2DCC #AA5BDB
Accessibility & contrast
On white
9.00
#6C229A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#6C229A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C229A
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C229A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C229A | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#004A98
Tritanopia (blue-blind)
#65405D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6c229a; /* rgb */ color: rgb(108, 34, 154); /* oklch */ color: oklch(42.9% 0.184 308.4);
Tailwind
colors: {
custom: {
50: '#9b66b9',
500: '#6c229a',
950: '#000000',
},
}SCSS
$custom: #6c229a; $custom-light: #9b66b9; $custom-dark: #000000;
JSON
{
"hex": "#6c229a",
"rgb": {
"r": 108,
"g": 34,
"b": 154
},
"hsl": {
"h": 277,
"s": 63.83,
"l": 36.863
},
"oklch": {
"l": 0.42897,
"c": 0.18391,
"h": 308.4
},
"luminance": 0.06665
}Semantic roles & 50–950 ramp
primary
#6C229A
secondary
#80BF58
accent
#E74181
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80