#6C2AA1#6C2AA1
#6C2AA1 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.3% C 0.182 H 305.3°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #6C2AA1 |
|---|---|
| RGB | rgb(108, 42, 161) |
| HSL | hsl(273, 59%, 40%) |
| HSV | hsv(273, 74%, 63%) |
| CMYK | cmyk(32.9%, 73.9%, 0%, 36.9%) |
| CIE-LAB | lab(32.74, 50.43, -52.23) |
| CIE-LCH | lch(32.74, 72.61, 314.00°) |
| OKLab | oklab(44.27% 0.1053 -0.1485) |
| OKLCH | oklch(44.27% 0.182 305.3) |
| XYZ | xyz(13.4439, 7.4174, 34.4348) |
| Luminance | 0.0742 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.35
Purple (survey)
#7E1E9C
ΔE00 3.98
Purple Blue
#5D21D0
ΔE00 7.30
Violet Blue
#510AC9
ΔE00 7.99
Bluey Purple
#6241C7
ΔE00 8.18
Blue With A Hint Of Purple
#533CC6
ΔE00 8.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C2AA1 #5FA12A
analogous
#302AA1 #6C2AA1 #A12A9B
triadic
#6C2AA1 #A16C2A #2AA16C
tetradic
#6C2AA1 #A1302A #5FA12A #2A9BA1
square
#6C2AA1 #A1302A #5FA12A #2A9BA1
split-complementary
#6C2AA1 #9BA12A #2AA130
monochromatic
#2B1140 #4B1D70 #6C2AA1 #8C3CCC #A96DD9
Accessibility & contrast
On white
8.46
#6C2AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#6C2AA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C2AA1
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C2AA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C2AA1 | 1.00 | 8.46 | 2.48 | 8.46 |
| #FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#624763
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #6c2aa1; /* rgb */ color: rgb(108, 42, 161); /* oklch */ color: oklch(44.3% 0.182 305.3);
Tailwind
colors: {
custom: {
50: '#9b6abe',
500: '#6c2aa1',
950: '#000000',
},
}SCSS
$custom: #6c2aa1; $custom-light: #9b6abe; $custom-dark: #000000;
JSON
{
"hex": "#6c2aa1",
"rgb": {
"r": 108,
"g": 42,
"b": 161
},
"hsl": {
"h": 273.277,
"s": 58.621,
"l": 39.804
},
"oklch": {
"l": 0.44271,
"c": 0.18205,
"h": 305.3
},
"luminance": 0.07417
}Semantic roles & 50–950 ramp
primary
#6C2AA1
secondary
#8FC067
accent
#E2468B
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0712
muted
#7E7A81