#6C2CA6#6C2CA6
#6C2CA6 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.9% C 0.185 H 303.6°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #6C2CA6 |
|---|---|
| RGB | rgb(108, 44, 166) |
| HSL | hsl(271, 58%, 41%) |
| HSV | hsv(271, 73%, 65%) |
| CMYK | cmyk(34.9%, 73.5%, 0%, 34.9%) |
| CIE-LAB | lab(33.44, 50.74, -54.10) |
| CIE-LCH | lch(33.44, 74.17, 313.16°) |
| OKLab | oklab(44.89% 0.1023 -0.1541) |
| OKLCH | oklch(44.89% 0.185 303.6) |
| XYZ | xyz(13.9664, 7.7427, 36.8277) |
| Luminance | 0.0774 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.59
Purple (survey)
#7E1E9C
ΔE00 4.52
Purple Blue
#5D21D0
ΔE00 6.60
Bluey Purple
#6241C7
ΔE00 7.31
Violet Blue
#510AC9
ΔE00 7.59
Blurple
#5539CC
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C2CA6 #66A62C
analogous
#2F2CA6 #6C2CA6 #A62CA3
triadic
#6C2CA6 #A66C2C #2CA66C
tetradic
#6C2CA6 #A62F2C #66A62C #2CA3A6
square
#6C2CA6 #A62F2C #66A62C #2CA3A6
split-complementary
#6C2CA6 #A3A62C #2CA62F
monochromatic
#2D1245 #4D1F76 #6C2CA6 #8B42CD #A973DA
Accessibility & contrast
On white
8.24
#6C2CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#6C2CA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C2CA6
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C2CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C2CA6 | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA9
Deuteranopia (green-blind)
#004EA4
Tritanopia (blue-blind)
#604A66
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #6c2ca6; /* rgb */ color: rgb(108, 44, 166); /* oklch */ color: oklch(44.9% 0.185 303.6);
Tailwind
colors: {
custom: {
50: '#9b6bc1',
500: '#6c2ca6',
950: '#000000',
},
}SCSS
$custom: #6c2ca6; $custom-light: #9b6bc1; $custom-dark: #000000;
JSON
{
"hex": "#6c2ca6",
"rgb": {
"r": 108,
"g": 44,
"b": 166
},
"hsl": {
"h": 271.475,
"s": 58.095,
"l": 41.176
},
"oklch": {
"l": 0.4489,
"c": 0.18494,
"h": 303.6
},
"luminance": 0.07743
}Semantic roles & 50–950 ramp
primary
#6C2CA6
secondary
#95C16D
accent
#E14690
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0712
muted
#7F7A81