#3A1890#3A1890
#3A1890 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.178 H 285.7°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).
Color values
| HEX | #3A1890 |
|---|---|
| RGB | rgb(58, 24, 144) |
| HSL | hsl(257, 71%, 33%) |
| HSV | hsv(257, 83%, 56%) |
| CMYK | cmyk(59.7%, 83.3%, 0%, 43.5%) |
| CIE-LAB | lab(22.18, 46.04, -59.34) |
| CIE-LCH | lch(22.18, 75.11, 307.81°) |
| OKLab | oklab(35.02% 0.0479 -0.171) |
| OKLCH | oklch(35.02% 0.178 285.7) |
| XYZ | xyz(7.1041, 3.5660, 26.6941) |
| Luminance | 0.0357 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.61
Royal
#0C1793
ΔE00 4.21
Indigo Blue
#3A18B1
ΔE00 4.57
Indigo
#4B0082
ΔE00 4.73
Cobalt Blue
#030AA7
ΔE00 5.01
Ultramarine
#2000B1
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A1890 #6E9018
analogous
#183290 #3A1890 #761890
triadic
#3A1890 #903A18 #18903A
tetradic
#3A1890 #901832 #6E9018 #189076
square
#3A1890 #901832 #6E9018 #189076
split-complementary
#3A1890 #907618 #329018
monochromatic
#100727 #250F5C #3A1890 #4F21C4 #6F43E0
Accessibility & contrast
On white
12.26
#3A1890 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#3A1890 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A1890
12.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A1890 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A1890 | 1.00 | 12.26 | 1.71 | 12.26 |
| #FFFFFF | 12.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#083D55
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #3a1890; /* rgb */ color: rgb(58, 24, 144); /* oklch */ color: oklch(35.0% 0.178 285.7);
Tailwind
colors: {
custom: {
50: '#7c5bb2',
500: '#3a1890',
950: '#000000',
},
}SCSS
$custom: #3a1890; $custom-light: #7c5bb2; $custom-dark: #000000;
JSON
{
"hex": "#3a1890",
"rgb": {
"r": 58,
"g": 24,
"b": 144
},
"hsl": {
"h": 257,
"s": 71.429,
"l": 32.941
},
"oklch": {
"l": 0.35019,
"c": 0.17757,
"h": 285.7
},
"luminance": 0.03566
}Semantic roles & 50–950 ramp
primary
#3A1890
secondary
#9DC043
accent
#EE3ABB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980