#6C2AA5#6C2AA5
#6C2AA5 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.6% C 0.186 H 304.1°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #6C2AA5 |
|---|---|
| RGB | rgb(108, 42, 165) |
| HSL | hsl(272, 59%, 41%) |
| HSV | hsv(272, 75%, 65%) |
| CMYK | cmyk(34.5%, 74.5%, 0%, 35.3%) |
| CIE-LAB | lab(33.05, 51.38, -54.14) |
| CIE-LCH | lch(33.05, 74.64, 313.51°) |
| OKLab | oklab(44.59% 0.1045 -0.1541) |
| OKLCH | oklch(44.59% 0.186 304.1) |
| XYZ | xyz(13.8023, 7.5607, 36.3222) |
| Luminance | 0.0756 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.69
Purple (survey)
#7E1E9C
ΔE00 4.31
Purple Blue
#5D21D0
ΔE00 6.69
Violet Blue
#510AC9
ΔE00 7.51
Bluey Purple
#6241C7
ΔE00 7.66
Blurple
#5539CC
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C2AA5 #63A52A
analogous
#2E2AA5 #6C2AA5 #A52AA0
triadic
#6C2AA5 #A56C2A #2AA56C
tetradic
#6C2AA5 #A52E2A #63A52A #2AA0A5
square
#6C2AA5 #A52E2A #63A52A #2AA0A5
split-complementary
#6C2AA5 #A0A52A #2AA52E
monochromatic
#2C1143 #4C1E74 #6C2AA5 #8B3ECE #A96FDA
Accessibility & contrast
On white
8.36
#6C2AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#6C2AA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C2AA5
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C2AA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C2AA5 | 1.00 | 8.36 | 2.51 | 8.36 |
| #FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA8
Deuteranopia (green-blind)
#004EA3
Tritanopia (blue-blind)
#614865
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #6c2aa5; /* rgb */ color: rgb(108, 42, 165); /* oklch */ color: oklch(44.6% 0.186 304.1);
Tailwind
colors: {
custom: {
50: '#9b6ac1',
500: '#6c2aa5',
950: '#000000',
},
}SCSS
$custom: #6c2aa5; $custom-light: #9b6ac1; $custom-dark: #000000;
JSON
{
"hex": "#6c2aa5",
"rgb": {
"r": 108,
"g": 42,
"b": 165
},
"hsl": {
"h": 272.195,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.44589,
"c": 0.18621,
"h": 304.1
},
"luminance": 0.07561
}Semantic roles & 50–950 ramp
primary
#6C2AA5
secondary
#92C169
accent
#E3458E
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81