#6C2CA5#6C2CA5
#6C2CA5 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.8% C 0.184 H 303.9°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #6C2CA5 |
|---|---|
| RGB | rgb(108, 44, 165) |
| HSL | hsl(272, 58%, 41%) |
| HSV | hsv(272, 73%, 65%) |
| CMYK | cmyk(34.5%, 73.3%, 0%, 35.3%) |
| CIE-LAB | lab(33.36, 50.50, -53.63) |
| CIE-LCH | lch(33.36, 73.66, 313.28°) |
| OKLab | oklab(44.81% 0.1025 -0.1527) |
| OKLCH | oklch(44.81% 0.184 303.9) |
| XYZ | xyz(13.8750, 7.7062, 36.3465) |
| Luminance | 0.0771 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.47
Purple (survey)
#7E1E9C
ΔE00 4.43
Purple Blue
#5D21D0
ΔE00 6.75
Bluey Purple
#6241C7
ΔE00 7.44
Violet Blue
#510AC9
ΔE00 7.70
Blurple
#5539CC
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C2CA5 #65A52C
analogous
#302CA5 #6C2CA5 #A52CA1
triadic
#6C2CA5 #A56C2C #2CA56C
tetradic
#6C2CA5 #A5302C #65A52C #2CA1A5
square
#6C2CA5 #A5302C #65A52C #2CA1A5
split-complementary
#6C2CA5 #A1A52C #2CA530
monochromatic
#2D1244 #4C1F75 #6C2CA5 #8B42CD #A972D9
Accessibility & contrast
On white
8.26
#6C2CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#6C2CA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C2CA5
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C2CA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C2CA5 | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#004EA3
Tritanopia (blue-blind)
#614966
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #6c2ca5; /* rgb */ color: rgb(108, 44, 165); /* oklch */ color: oklch(44.8% 0.184 303.9);
Tailwind
colors: {
custom: {
50: '#9b6bc1',
500: '#6c2ca5',
950: '#000000',
},
}SCSS
$custom: #6c2ca5; $custom-light: #9b6bc1; $custom-dark: #000000;
JSON
{
"hex": "#6c2ca5",
"rgb": {
"r": 108,
"g": 44,
"b": 165
},
"hsl": {
"h": 271.736,
"s": 57.895,
"l": 40.98
},
"oklch": {
"l": 0.4481,
"c": 0.18389,
"h": 303.9
},
"luminance": 0.07706
}Semantic roles & 50–950 ramp
primary
#6C2CA5
secondary
#94C16C
accent
#E1478F
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0F0712
muted
#7E7A81