#3A1CA0#3A1CA0
#3A1CA0 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.193 H 282.0°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).
Color values
| HEX | #3A1CA0 |
|---|---|
| RGB | rgb(58, 28, 160) |
| HSL | hsl(254, 70%, 37%) |
| HSV | hsv(254, 83%, 63%) |
| CMYK | cmyk(63.8%, 82.5%, 0%, 37.3%) |
| CIE-LAB | lab(24.54, 48.90, -65.30) |
| CIE-LCH | lch(24.54, 81.58, 306.83°) |
| OKLab | oklab(37.16% 0.0402 -0.1884) |
| OKLCH | oklch(37.16% 0.193 282) |
| XYZ | xyz(8.5034, 4.2675, 33.6265) |
| Luminance | 0.0427 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.29
Ultramarine
#2000B1
ΔE00 4.12
Cobalt Blue
#030AA7
ΔE00 4.37
Royal
#0C1793
ΔE00 4.53
Royal Blue (survey)
#0504AA
ΔE00 4.59
Indigo (survey)
#380282
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A1CA0 #82A01C
analogous
#1C40A0 #3A1CA0 #7C1CA0
triadic
#3A1CA0 #A03A1C #1CA03A
tetradic
#3A1CA0 #A01C40 #82A01C #1CA07C
square
#3A1CA0 #A01C40 #82A01C #1CA07C
split-complementary
#3A1CA0 #A07C1C #40A01C
monochromatic
#140A38 #27136C #3A1CA0 #4D25D4 #7555E1
Accessibility & contrast
On white
11.33
#3A1CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#3A1CA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A1CA0
11.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A1CA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A1CA0 | 1.00 | 11.33 | 1.85 | 11.33 |
| #FFFFFF | 11.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA4
Deuteranopia (green-blind)
#00369E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #3a1ca0; /* rgb */ color: rgb(58, 28, 160); /* oklch */ color: oklch(37.2% 0.193 282.0);
Tailwind
colors: {
custom: {
50: '#7f5ebd',
500: '#3a1ca0',
950: '#000000',
},
}SCSS
$custom: #3a1ca0; $custom-light: #7f5ebd; $custom-dark: #000000;
JSON
{
"hex": "#3a1ca0",
"rgb": {
"r": 58,
"g": 28,
"b": 160
},
"hsl": {
"h": 253.636,
"s": 70.213,
"l": 36.863
},
"oklch": {
"l": 0.37164,
"c": 0.19261,
"h": 282
},
"luminance": 0.04268
}Semantic roles & 50–950 ramp
primary
#3A1CA0
secondary
#ABC453
accent
#ED3BC5
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981