#3F1FB2#3F1FB2
#3F1FB2 is a dark, highly saturated violet. Relative luminance 0.053; OKLCH L 39.9% C 0.210 H 281.1°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1FB2 |
|---|---|
| RGB | rgb(63, 31, 178) |
| HSL | hsl(253, 70%, 41%) |
| HSV | hsv(253, 83%, 70%) |
| CMYK | cmyk(64.6%, 82.6%, 0%, 30.2%) |
| CIE-LAB | lab(27.44, 53.24, -71.35) |
| CIE-LCH | lch(27.44, 89.03, 306.73°) |
| OKLab | oklab(39.86% 0.0404 -0.2059) |
| OKLCH | oklch(39.86% 0.21 281.1) |
| XYZ | xyz(10.5732, 5.2503, 42.5671) |
| Luminance | 0.0525 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.25
Violet Blue
#510AC9
ΔE00 3.91
True Blue
#010FCC
ΔE00 4.35
Ultramarine
#2000B1
ΔE00 4.57
Mediumblue
#0000CD
ΔE00 4.87
Ultramarine Blue
#1805DB
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1FB2 #92B21F
analogous
#1F48B2 #3F1FB2 #881FB2
triadic
#3F1FB2 #B23F1F #1FB23F
tetradic
#3F1FB2 #B21F48 #92B21F #1FB288
square
#3F1FB2 #B21F48 #92B21F #1FB288
split-complementary
#3F1FB2 #B2881F #48B21F
monochromatic
#1A0D4A #2D167E #3F1FB2 #5733DB #8267E5
Accessibility & contrast
On white
10.24
#3F1FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#3F1FB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1FB2
10.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1FB2 | 1.00 | 10.24 | 2.05 | 10.24 |
| #FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046B6
Deuteranopia (green-blind)
#003BAF
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #3f1fb2; /* rgb */ color: rgb(63, 31, 178); /* oklch */ color: oklch(39.9% 0.210 281.1);
Tailwind
colors: {
custom: {
50: '#8461ca',
500: '#3f1fb2',
950: '#000000',
},
}SCSS
$custom: #3f1fb2; $custom-light: #8461ca; $custom-dark: #000000;
JSON
{
"hex": "#3f1fb2",
"rgb": {
"r": 63,
"g": 31,
"b": 178
},
"hsl": {
"h": 253.061,
"s": 70.335,
"l": 40.98
},
"oklch": {
"l": 0.39863,
"c": 0.20983,
"h": 281.1
},
"luminance": 0.05251
}Semantic roles & 50–950 ramp
primary
#3F1FB2
secondary
#B3CA63
accent
#ED3BC6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0513
muted
#7D7A82