#3B1FC3#3B1FC3
#3B1FC3 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.4% C 0.229 H 277.3°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #3B1FC3 |
|---|---|
| RGB | rgb(59, 31, 195) |
| HSL | hsl(250, 73%, 44%) |
| HSV | hsv(250, 84%, 76%) |
| CMYK | cmyk(69.7%, 84.1%, 0%, 23.5%) |
| CIE-LAB | lab(29.03, 57.72, -78.81) |
| CIE-LCH | lch(29.03, 97.68, 306.22°) |
| OKLab | oklab(41.43% 0.029 -0.2276) |
| OKLCH | oklch(41.43% 0.229 277.3) |
| XYZ | xyz(12.1407, 5.8488, 52.1083) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.75
Violet Blue
#510AC9
ΔE00 3.04
True Blue
#010FCC
ΔE00 3.36
Ultramarine Blue
#1805DB
ΔE00 3.50
Pure Blue
#0203E2
ΔE00 4.07
Mediumblue
#0000CD
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3B1FC3 #A7C31F
analogous
#1F55C3 #3B1FC3 #8D1FC3
triadic
#3B1FC3 #C33B1F #1FC33B
tetradic
#3B1FC3 #C31F55 #A7C31F #1FC38D
square
#3B1FC3 #C31F55 #A7C31F #1FC38D
split-complementary
#3B1FC3 #C38D1F #55C31F
monochromatic
#1B0E59 #2B178E #3B1FC3 #5A3FE0 #8874E9
Accessibility & contrast
On white
9.68
#3B1FC3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#3B1FC3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3B1FC3
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3B1FC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3B1FC3 | 1.00 | 9.68 | 2.17 | 9.68 |
| #FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BC7
Deuteranopia (green-blind)
#003DC0
Tritanopia (blue-blind)
#005574
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #3b1fc3; /* rgb */ color: rgb(59, 31, 195); /* oklch */ color: oklch(41.4% 0.229 277.3);
Tailwind
colors: {
custom: {
50: '#8662d7',
500: '#3b1fc3',
950: '#000000',
},
}SCSS
$custom: #3b1fc3; $custom-light: #8662d7; $custom-dark: #000000;
JSON
{
"hex": "#3b1fc3",
"rgb": {
"r": 59,
"g": 31,
"b": 195
},
"hsl": {
"h": 250.244,
"s": 72.566,
"l": 44.314
},
"oklch": {
"l": 0.41433,
"c": 0.22949,
"h": 277.3
},
"luminance": 0.0585
}Semantic roles & 50–950 ramp
primary
#3B1FC3
secondary
#BFD06E
accent
#EF39D0
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0515
muted
#7E7A83