#3B1FAE#3B1FAE
#3B1FAE is a dark, highly saturated violet. Relative luminance 0.050; OKLCH L 39.1% C 0.206 H 280.0°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #3B1FAE |
|---|---|
| RGB | rgb(59, 31, 174) |
| HSL | hsl(252, 70%, 40%) |
| HSV | hsv(252, 82%, 68%) |
| CMYK | cmyk(66.1%, 82.2%, 0%, 31.8%) |
| CIE-LAB | lab(26.63, 51.73, -70.29) |
| CIE-LCH | lch(26.63, 87.27, 306.35°) |
| OKLab | oklab(39.09% 0.0357 -0.2029) |
| OKLCH | oklch(39.09% 0.206 280) |
| XYZ | xyz(9.9312, 4.9650, 40.4712) |
| Luminance | 0.0497 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.10
Ultramarine
#2000B1
ΔE00 4.24
True Blue
#010FCC
ΔE00 4.43
Violet Blue
#510AC9
ΔE00 4.58
Mediumblue
#0000CD
ΔE00 4.92
Cobalt Blue
#030AA7
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B1FAE #92AE1F
analogous
#1F4BAE #3B1FAE #821FAE
triadic
#3B1FAE #AE3B1F #1FAE3B
tetradic
#3B1FAE #AE1F4B #92AE1F #1FAE82
square
#3B1FAE #AE1F4B #92AE1F #1FAE82
split-complementary
#3B1FAE #AE821F #4BAE1F
monochromatic
#180C46 #29167A #3B1FAE #5130DA #7D64E3
Accessibility & contrast
On white
10.54
#3B1FAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#3B1FAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B1FAE
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B1FAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B1FAE | 1.00 | 10.54 | 1.99 | 10.54 |
| #FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044B2
Deuteranopia (green-blind)
#0039AC
Tritanopia (blue-blind)
#004C68
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3b1fae; /* rgb */ color: rgb(59, 31, 174); /* oklch */ color: oklch(39.1% 0.206 280.0);
Tailwind
colors: {
custom: {
50: '#8260c8',
500: '#3b1fae',
950: '#000000',
},
}SCSS
$custom: #3b1fae; $custom-light: #8260c8; $custom-dark: #000000;
JSON
{
"hex": "#3b1fae",
"rgb": {
"r": 59,
"g": 31,
"b": 174
},
"hsl": {
"h": 251.748,
"s": 69.756,
"l": 40.196
},
"oklch": {
"l": 0.39092,
"c": 0.20604,
"h": 280
},
"luminance": 0.04966
}Semantic roles & 50–950 ramp
primary
#3B1FAE
secondary
#B4C860
accent
#ED3BCA
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982