#6C1AA0#6C1AA0
#6C1AA0 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.7% C 0.197 H 307.2°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #6C1AA0 |
|---|---|
| RGB | rgb(108, 26, 160) |
| HSL | hsl(277, 72%, 36%) |
| HSV | hsv(277, 84%, 63%) |
| CMYK | cmyk(32.5%, 83.8%, 0%, 37.3%) |
| CIE-LAB | lab(30.56, 56.26, -55.17) |
| CIE-LCH | lch(30.56, 78.80, 315.56°) |
| OKLab | oklab(42.72% 0.1191 -0.1571) |
| OKLCH | oklch(42.72% 0.197 307.2) |
| XYZ | xyz(12.8975, 6.4652, 33.8193) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.91
Rebeccapurple
#663399
ΔE00 4.42
Violet Blue
#510AC9
ΔE00 7.28
Purple Blue
#5D21D0
ΔE00 7.47
Indigo
#4B0082
ΔE00 7.53
Purple
#800080
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C1AA0 #4EA01A
analogous
#291AA0 #6C1AA0 #A01A91
triadic
#6C1AA0 #A06C1A #1AA06C
tetradic
#6C1AA0 #A0291A #4EA01A #1A91A0
square
#6C1AA0 #A0291A #4EA01A #1A91A0
split-complementary
#6C1AA0 #91A01A #1AA029
monochromatic
#250937 #48116B #6C1AA0 #9023D5 #AA52E3
Accessibility & contrast
On white
9.16
#6C1AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#6C1AA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C1AA0
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C1AA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C1AA0 | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#633F5F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6c1aa0; /* rgb */ color: rgb(108, 26, 160); /* oklch */ color: oklch(42.7% 0.197 307.2);
Tailwind
colors: {
custom: {
50: '#9c63bd',
500: '#6c1aa0',
950: '#000000',
},
}SCSS
$custom: #6c1aa0; $custom-light: #9c63bd; $custom-dark: #000000;
JSON
{
"hex": "#6c1aa0",
"rgb": {
"r": 108,
"g": 26,
"b": 160
},
"hsl": {
"h": 276.716,
"s": 72.043,
"l": 36.471
},
"oklch": {
"l": 0.42716,
"c": 0.1971,
"h": 307.2
},
"luminance": 0.06465
}Semantic roles & 50–950 ramp
primary
#6C1AA0
secondary
#7EC550
accent
#EF3980
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81