#6C1DA1#6C1DA1
#6C1DA1 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 43.0% C 0.195 H 306.6°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #6C1DA1 |
|---|---|
| RGB | rgb(108, 29, 161) |
| HSL | hsl(276, 69%, 37%) |
| HSV | hsv(276, 82%, 63%) |
| CMYK | cmyk(32.9%, 82%, 0%, 36.9%) |
| CIE-LAB | lab(30.97, 55.51, -55.10) |
| CIE-LCH | lch(30.97, 78.21, 315.21°) |
| OKLab | oklab(43.03% 0.1166 -0.1569) |
| OKLCH | oklch(43.03% 0.195 306.6) |
| XYZ | xyz(13.0553, 6.6402, 34.3052) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.88
Rebeccapurple
#663399
ΔE00 4.09
Violet Blue
#510AC9
ΔE00 7.24
Purple Blue
#5D21D0
ΔE00 7.27
Indigo
#4B0082
ΔE00 7.81
Darkmagenta
#8B008B
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C1DA1 #52A11D
analogous
#2A1DA1 #6C1DA1 #A11D94
triadic
#6C1DA1 #A16C1D #1DA16C
tetradic
#6C1DA1 #A12A1D #52A11D #1D94A1
square
#6C1DA1 #A12A1D #52A11D #1D94A1
split-complementary
#6C1DA1 #94A11D #1DA12A
monochromatic
#260A39 #49146D #6C1DA1 #8F26D5 #AA58E1
Accessibility & contrast
On white
9.02
#6C1DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#6C1DA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C1DA1
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C1DA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C1DA1 | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#00499E
Tritanopia (blue-blind)
#634160
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6c1da1; /* rgb */ color: rgb(108, 29, 161); /* oklch */ color: oklch(43.0% 0.195 306.6);
Tailwind
colors: {
custom: {
50: '#9c64be',
500: '#6c1da1',
950: '#000000',
},
}SCSS
$custom: #6c1da1; $custom-light: #9c64be; $custom-dark: #000000;
JSON
{
"hex": "#6c1da1",
"rgb": {
"r": 108,
"g": 29,
"b": 161
},
"hsl": {
"h": 275.909,
"s": 69.474,
"l": 37.255
},
"oklch": {
"l": 0.43031,
"c": 0.19547,
"h": 306.6
},
"luminance": 0.0664
}Semantic roles & 50–950 ramp
primary
#6C1DA1
secondary
#82C455
accent
#EC3C82
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81