#3A1CAE#3A1CAE
#3A1CAE is a dark, highly saturated violet. Relative luminance 0.048; OKLCH L 38.7% C 0.208 H 279.8°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).
Color values
| HEX | #3A1CAE |
|---|---|
| RGB | rgb(58, 28, 174) |
| HSL | hsl(252, 72%, 40%) |
| HSV | hsv(252, 84%, 68%) |
| CMYK | cmyk(66.7%, 83.9%, 0%, 31.8%) |
| CIE-LAB | lab(26.11, 52.91, -71.16) |
| CIE-LCH | lch(26.11, 88.68, 306.64°) |
| OKLab | oklab(38.71% 0.0355 -0.2054) |
| OKLCH | oklch(38.71% 0.208 279.8) |
| XYZ | xyz(9.7977, 4.7852, 40.4435) |
| Luminance | 0.0479 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 0.66
Ultramarine
#2000B1
ΔE00 3.76
True Blue
#010FCC
ΔE00 4.23
Violet Blue
#510AC9
ΔE00 4.53
Cobalt Blue
#030AA7
ΔE00 4.58
Mediumblue
#0000CD
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A1CAE #90AE1C
analogous
#1C47AE #3A1CAE #831CAE
triadic
#3A1CAE #AE3A1C #1CAE3A
tetradic
#3A1CAE #AE1C47 #90AE1C #1CAE83
square
#3A1CAE #AE1C47 #90AE1C #1CAE83
split-complementary
#3A1CAE #AE831C #47AE1C
monochromatic
#170B45 #281479 #3A1CAE #4F2ADD #7B5FE5
Accessibility & contrast
On white
10.73
#3A1CAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#3A1CAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A1CAE
10.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A1CAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A1CAE | 1.00 | 10.73 | 1.96 | 10.73 |
| #FFFFFF | 10.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043B2
Deuteranopia (green-blind)
#0038AC
Tritanopia (blue-blind)
#004B67
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3a1cae; /* rgb */ color: rgb(58, 28, 174); /* oklch */ color: oklch(38.7% 0.208 279.8);
Tailwind
colors: {
custom: {
50: '#815fc8',
500: '#3a1cae',
950: '#000000',
},
}SCSS
$custom: #3a1cae; $custom-light: #815fc8; $custom-dark: #000000;
JSON
{
"hex": "#3a1cae",
"rgb": {
"r": 58,
"g": 28,
"b": 174
},
"hsl": {
"h": 252.329,
"s": 72.277,
"l": 39.608
},
"oklch": {
"l": 0.38712,
"c": 0.20846,
"h": 279.8
},
"luminance": 0.04786
}Semantic roles & 50–950 ramp
primary
#3A1CAE
secondary
#B3CA5C
accent
#EF39CA
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982