#3B1FC2#3B1FC2
#3B1FC2 is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.3% C 0.228 H 277.4°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #3B1FC2 |
|---|---|
| RGB | rgb(59, 31, 194) |
| HSL | hsl(250, 72%, 44%) |
| HSV | hsv(250, 84%, 76%) |
| CMYK | cmyk(69.6%, 84%, 0%, 23.9%) |
| CIE-LAB | lab(28.91, 57.44, -78.41) |
| CIE-LCH | lch(28.91, 97.20, 306.23°) |
| OKLab | oklab(41.32% 0.0293 -0.2265) |
| OKLCH | oklch(41.32% 0.228 277.4) |
| XYZ | xyz(12.0281, 5.8037, 51.5148) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.63
Violet Blue
#510AC9
ΔE00 3.07
True Blue
#010FCC
ΔE00 3.37
Ultramarine Blue
#1805DB
ΔE00 3.57
Mediumblue
#0000CD
ΔE00 4.08
Pure Blue
#0203E2
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B1FC2 #A6C21F
analogous
#1F55C2 #3B1FC2 #8D1FC2
triadic
#3B1FC2 #C23B1F #1FC23B
tetradic
#3B1FC2 #C21F55 #A6C21F #1FC28D
square
#3B1FC2 #C21F55 #A6C21F #1FC28D
split-complementary
#3B1FC2 #C28D1F #55C21F
monochromatic
#1B0E58 #2B178D #3B1FC2 #5A3EE0 #8773E9
Accessibility & contrast
On white
9.72
#3B1FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#3B1FC2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B1FC2
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B1FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B1FC2 | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AC6
Deuteranopia (green-blind)
#003DBF
Tritanopia (blue-blind)
#005474
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #3b1fc2; /* rgb */ color: rgb(59, 31, 194); /* oklch */ color: oklch(41.3% 0.228 277.4);
Tailwind
colors: {
custom: {
50: '#8662d6',
500: '#3b1fc2',
950: '#000000',
},
}SCSS
$custom: #3b1fc2; $custom-light: #8662d6; $custom-dark: #000000;
JSON
{
"hex": "#3b1fc2",
"rgb": {
"r": 59,
"g": 31,
"b": 194
},
"hsl": {
"h": 250.307,
"s": 72.444,
"l": 44.118
},
"oklch": {
"l": 0.4132,
"c": 0.22839,
"h": 277.4
},
"luminance": 0.05805
}Semantic roles & 50–950 ramp
primary
#3B1FC2
secondary
#BFCF6D
accent
#EF39D0
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0515
muted
#7E7A83