#6A1DB3#6A1DB3
#6A1DB3 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.3% C 0.212 H 300.6°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #6A1DB3 |
|---|---|
| RGB | rgb(106, 29, 179) |
| HSL | hsl(271, 72%, 41%) |
| HSV | hsv(271, 84%, 70%) |
| CMYK | cmyk(40.8%, 83.8%, 0%, 29.8%) |
| CIE-LAB | lab(32.25, 59.29, -63.84) |
| CIE-LCH | lch(32.25, 87.13, 312.88°) |
| OKLab | oklab(44.34% 0.108 -0.1826) |
| OKLCH | oklch(44.34% 0.212 300.6) |
| XYZ | xyz(14.5179, 7.1974, 43.2635) |
| Luminance | 0.0720 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.51
Violet Blue
#510AC9
ΔE00 4.95
Rebeccapurple
#663399
ΔE00 5.32
Purple (survey)
#7E1E9C
ΔE00 5.82
Blue Violet
#5D06E9
ΔE00 6.83
Indigo Blue
#3A18B1
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A1DB3 #66B31D
analogous
#1F1DB3 #6A1DB3 #B31DB1
triadic
#6A1DB3 #B36A1D #1DB36A
tetradic
#6A1DB3 #B31F1D #66B31D #1DB1B3
square
#6A1DB3 #B31F1D #66B31D #1DB1B3
split-complementary
#6A1DB3 #B1B31D #1DB31F
monochromatic
#2C0C4A #4B147E #6A1DB3 #8930DD #A764E6
Accessibility & contrast
On white
8.61
#6A1DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#6A1DB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A1DB3
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A1DB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A1DB3 | 1.00 | 8.61 | 2.44 | 8.61 |
| #FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#59496B
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #6a1db3; /* rgb */ color: rgb(106, 29, 179); /* oklch */ color: oklch(44.3% 0.212 300.6);
Tailwind
colors: {
custom: {
50: '#9c65cb',
500: '#6a1db3',
950: '#000000',
},
}SCSS
$custom: #6a1db3; $custom-light: #9c65cb; $custom-dark: #000000;
JSON
{
"hex": "#6a1db3",
"rgb": {
"r": 106,
"g": 29,
"b": 179
},
"hsl": {
"h": 270.8,
"s": 72.115,
"l": 40.784
},
"oklch": {
"l": 0.44339,
"c": 0.21218,
"h": 300.6
},
"luminance": 0.07198
}Semantic roles & 50–950 ramp
primary
#6A1DB3
secondary
#94CB61
accent
#EF3991
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82