#6C1DA0#6C1DA0
#6C1DA0 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.195 H 306.9°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #6C1DA0 |
|---|---|
| RGB | rgb(108, 29, 160) |
| HSL | hsl(276, 69%, 37%) |
| HSV | hsv(276, 82%, 63%) |
| CMYK | cmyk(32.5%, 81.9%, 0%, 37.3%) |
| CIE-LAB | lab(30.89, 55.29, -54.63) |
| CIE-LCH | lch(30.89, 77.72, 315.34°) |
| OKLab | oklab(42.95% 0.1169 -0.1555) |
| OKLCH | oklch(42.95% 0.195 306.9) |
| XYZ | xyz(12.9675, 6.6051, 33.8427) |
| Luminance | 0.0660 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.81
Rebeccapurple
#663399
ΔE00 4.07
Violet Blue
#510AC9
ΔE00 7.37
Purple Blue
#5D21D0
ΔE00 7.42
Indigo
#4B0082
ΔE00 7.75
Darkmagenta
#8B008B
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C1DA0 #51A01D
analogous
#2A1DA0 #6C1DA0 #A01D93
triadic
#6C1DA0 #A06C1D #1DA06C
tetradic
#6C1DA0 #A02A1D #51A01D #1D93A0
square
#6C1DA0 #A02A1D #51A01D #1D93A0
split-complementary
#6C1DA0 #93A01D #1DA02A
monochromatic
#260A38 #49146C #6C1DA0 #8F26D4 #AA57E1
Accessibility & contrast
On white
9.05
#6C1DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#6C1DA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C1DA0
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C1DA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C1DA0 | 1.00 | 9.05 | 2.32 | 9.05 |
| #FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#634060
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6c1da0; /* rgb */ color: rgb(108, 29, 160); /* oklch */ color: oklch(42.9% 0.195 306.9);
Tailwind
colors: {
custom: {
50: '#9c64bd',
500: '#6c1da0',
950: '#000000',
},
}SCSS
$custom: #6c1da0; $custom-light: #9c64bd; $custom-dark: #000000;
JSON
{
"hex": "#6c1da0",
"rgb": {
"r": 108,
"g": 29,
"b": 160
},
"hsl": {
"h": 276.183,
"s": 69.312,
"l": 37.059
},
"oklch": {
"l": 0.42948,
"c": 0.19453,
"h": 306.9
},
"luminance": 0.06605
}Semantic roles & 50–950 ramp
primary
#6C1DA0
secondary
#81C455
accent
#EC3C82
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81