#3A1E9F#3A1E9F
#3A1E9F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.190 H 282.0°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).
Color values
| HEX | #3A1E9F |
|---|---|
| RGB | rgb(58, 30, 159) |
| HSL | hsl(253, 68%, 37%) |
| HSV | hsv(253, 81%, 62%) |
| CMYK | cmyk(63.5%, 81.1%, 0%, 37.6%) |
| CIE-LAB | lab(24.74, 47.70, -64.36) |
| CIE-LCH | lch(24.74, 80.11, 306.55°) |
| OKLab | oklab(37.27% 0.0395 -0.1857) |
| OKLCH | oklch(37.27% 0.19 282) |
| XYZ | xyz(8.4652, 4.3307, 33.1840) |
| Luminance | 0.0433 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.51
Ultramarine
#2000B1
ΔE00 4.44
Royal
#0C1793
ΔE00 4.55
Cobalt Blue
#030AA7
ΔE00 4.59
Royal Blue (survey)
#0504AA
ΔE00 4.86
Indigo (survey)
#380282
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A1E9F #839F1E
analogous
#1E439F #3A1E9F #7B1E9F
triadic
#3A1E9F #9F3A1E #1E9F3A
tetradic
#3A1E9F #9F1E43 #839F1E #1E9F7B
square
#3A1E9F #9F1E43 #839F1E #1E9F7B
split-complementary
#3A1E9F #9F7B1E #439F1E
monochromatic
#140B38 #27146C #3A1E9F #4D28D2 #7558DF
Accessibility & contrast
On white
11.25
#3A1E9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#3A1E9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A1E9F
11.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A1E9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A1E9F | 1.00 | 11.25 | 1.87 | 11.25 |
| #FFFFFF | 11.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3a1e9f; /* rgb */ color: rgb(58, 30, 159); /* oklch */ color: oklch(37.3% 0.190 282.0);
Tailwind
colors: {
custom: {
50: '#7e5fbd',
500: '#3a1e9f',
950: '#000000',
},
}SCSS
$custom: #3a1e9f; $custom-light: #7e5fbd; $custom-dark: #000000;
JSON
{
"hex": "#3a1e9f",
"rgb": {
"r": 58,
"g": 30,
"b": 159
},
"hsl": {
"h": 253.023,
"s": 68.254,
"l": 37.059
},
"oklch": {
"l": 0.37269,
"c": 0.18982,
"h": 282
},
"luminance": 0.04331
}Semantic roles & 50–950 ramp
primary
#3A1E9F
secondary
#ABC356
accent
#EB3DC5
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981