#6A1EB3#6A1EB3
#6A1EB3 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.4% C 0.211 H 300.5°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #6A1EB3 |
|---|---|
| RGB | rgb(106, 30, 179) |
| HSL | hsl(271, 71%, 41%) |
| HSV | hsv(271, 83%, 70%) |
| CMYK | cmyk(40.8%, 83.2%, 0%, 29.8%) |
| CIE-LAB | lab(32.36, 58.96, -63.66) |
| CIE-LCH | lch(32.36, 86.77, 312.81°) |
| OKLab | oklab(44.42% 0.1074 -0.1821) |
| OKLCH | oklch(44.42% 0.211 300.5) |
| XYZ | xyz(14.5428, 7.2473, 43.2718) |
| Luminance | 0.0725 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.49
Violet Blue
#510AC9
ΔE00 5.00
Rebeccapurple
#663399
ΔE00 5.24
Purple (survey)
#7E1E9C
ΔE00 5.82
Blue Violet
#5D06E9
ΔE00 6.83
Indigo Blue
#3A18B1
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A1EB3 #67B31E
analogous
#1F1EB3 #6A1EB3 #B31EB1
triadic
#6A1EB3 #B36A1E #1EB36A
tetradic
#6A1EB3 #B31F1E #67B31E #1EB1B3
square
#6A1EB3 #B31F1E #67B31E #1EB1B3
split-complementary
#6A1EB3 #B1B31E #1EB31F
monochromatic
#2C0C4A #4B157F #6A1EB3 #8932DD #A766E5
Accessibility & contrast
On white
8.57
#6A1EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#6A1EB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A1EB3
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A1EB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A1EB3 | 1.00 | 8.57 | 2.45 | 8.57 |
| #FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#59496B
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #6a1eb3; /* rgb */ color: rgb(106, 30, 179); /* oklch */ color: oklch(44.4% 0.211 300.5);
Tailwind
colors: {
custom: {
50: '#9c65cb',
500: '#6a1eb3',
950: '#000000',
},
}SCSS
$custom: #6a1eb3; $custom-light: #9c65cb; $custom-dark: #000000;
JSON
{
"hex": "#6a1eb3",
"rgb": {
"r": 106,
"g": 30,
"b": 179
},
"hsl": {
"h": 270.604,
"s": 71.292,
"l": 40.98
},
"oklch": {
"l": 0.44415,
"c": 0.2114,
"h": 300.5
},
"luminance": 0.07247
}Semantic roles & 50–950 ramp
primary
#6A1EB3
secondary
#95CB62
accent
#EE3A92
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82