#3A1CB4#3A1CB4
#3A1CB4 is a dark, highly saturated violet. Relative luminance 0.050; OKLCH L 39.4% C 0.215 H 279.0°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).
Color values
| HEX | #3A1CB4 |
|---|---|
| RGB | rgb(58, 28, 180) |
| HSL | hsl(252, 73%, 41%) |
| HSV | hsv(252, 84%, 71%) |
| CMYK | cmyk(67.8%, 84.4%, 0%, 29.4%) |
| CIE-LAB | lab(26.80, 54.62, -73.61) |
| CIE-LCH | lch(26.80, 91.66, 306.58°) |
| OKLab | oklab(39.39% 0.0335 -0.2125) |
| OKLCH | oklch(39.39% 0.215 279) |
| XYZ | xyz(10.3958, 5.0244, 43.5931) |
| Luminance | 0.0503 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 0.76
True Blue
#010FCC
ΔE00 3.70
Ultramarine
#2000B1
ΔE00 3.92
Violet Blue
#510AC9
ΔE00 3.94
Mediumblue
#0000CD
ΔE00 4.18
Ultramarine Blue
#1805DB
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A1CB4 #96B41C
analogous
#1C4AB4 #3A1CB4 #861CB4
triadic
#3A1CB4 #B43A1C #1CB43A
tetradic
#3A1CB4 #B41C4A #96B41C #1CB486
square
#3A1CB4 #B41C4A #96B41C #1CB486
split-complementary
#3A1CB4 #B4861C #4AB41C
monochromatic
#180C4A #29147F #3A1CB4 #512FDF #7D64E7
Accessibility & contrast
On white
10.47
#3A1CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#3A1CB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A1CB4
10.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A1CB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A1CB4 | 1.00 | 10.47 | 2.01 | 10.47 |
| #FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045B8
Deuteranopia (green-blind)
#0039B1
Tritanopia (blue-blind)
#004D6B
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3a1cb4; /* rgb */ color: rgb(58, 28, 180); /* oklch */ color: oklch(39.4% 0.215 279.0);
Tailwind
colors: {
custom: {
50: '#835fcc',
500: '#3a1cb4',
950: '#000000',
},
}SCSS
$custom: #3a1cb4; $custom-light: #835fcc; $custom-dark: #000000;
JSON
{
"hex": "#3a1cb4",
"rgb": {
"r": 58,
"g": 28,
"b": 180
},
"hsl": {
"h": 251.842,
"s": 73.077,
"l": 40.784
},
"oklch": {
"l": 0.39386,
"c": 0.21515,
"h": 279
},
"luminance": 0.05025
}Semantic roles & 50–950 ramp
primary
#3A1CB4
secondary
#B6CC60
accent
#F038CB
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0514
muted
#7D7982