#3B1CA5#3B1CA5
#3B1CA5 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.198 H 281.7°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).
Color values
| HEX | #3B1CA5 |
|---|---|
| RGB | rgb(59, 28, 165) |
| HSL | hsl(254, 71%, 38%) |
| HSV | hsv(254, 83%, 65%) |
| CMYK | cmyk(64.2%, 83%, 0%, 35.3%) |
| CIE-LAB | lab(25.19, 50.44, -67.26) |
| CIE-LCH | lch(25.19, 84.07, 306.87°) |
| OKLab | oklab(37.8% 0.0401 -0.194) |
| OKLCH | oklch(37.8% 0.198 281.7) |
| XYZ | xyz(9.0083, 4.4762, 35.9793) |
| Luminance | 0.0448 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.63
Ultramarine
#2000B1
ΔE00 3.94
Cobalt Blue
#030AA7
ΔE00 4.43
Royal Blue (survey)
#0504AA
ΔE00 4.60
Royal
#0C1793
ΔE00 4.96
True Blue
#010FCC
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B1CA5 #86A51C
analogous
#1C41A5 #3B1CA5 #801CA5
triadic
#3B1CA5 #A53B1C #1CA53B
tetradic
#3B1CA5 #A51C41 #86A51C #1CA580
square
#3B1CA5 #A51C41 #86A51C #1CA580
split-complementary
#3B1CA5 #A5801C #41A51C
monochromatic
#160A3C #281371 #3B1CA5 #4E25D9 #7859E3
Accessibility & contrast
On white
11.08
#3B1CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#3B1CA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B1CA5
11.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B1CA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B1CA5 | 1.00 | 11.08 | 1.90 | 11.08 |
| #FFFFFF | 11.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A9
Deuteranopia (green-blind)
#0037A3
Tritanopia (blue-blind)
#004762
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3b1ca5; /* rgb */ color: rgb(59, 28, 165); /* oklch */ color: oklch(37.8% 0.198 281.7);
Tailwind
colors: {
custom: {
50: '#805ec1',
500: '#3b1ca5',
950: '#000000',
},
}SCSS
$custom: #3b1ca5; $custom-light: #805ec1; $custom-dark: #000000;
JSON
{
"hex": "#3b1ca5",
"rgb": {
"r": 59,
"g": 28,
"b": 165
},
"hsl": {
"h": 253.577,
"s": 70.984,
"l": 37.843
},
"oklch": {
"l": 0.37799,
"c": 0.19814,
"h": 281.7
},
"luminance": 0.04477
}Semantic roles & 50–950 ramp
primary
#3B1CA5
secondary
#ADC656
accent
#EE3AC5
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0C0512
muted
#7D7981