#3F1FC2#3F1FC2
#3F1FC2 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.6% C 0.228 H 278.9°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #3F1FC2 |
|---|---|
| RGB | rgb(63, 31, 194) |
| HSL | hsl(252, 72%, 44%) |
| HSV | hsv(252, 84%, 76%) |
| CMYK | cmyk(67.5%, 84%, 0%, 23.9%) |
| CIE-LAB | lab(29.24, 57.74, -77.86) |
| CIE-LCH | lch(29.24, 96.94, 306.56°) |
| OKLab | oklab(41.63% 0.0351 -0.2248) |
| OKLCH | oklch(41.63% 0.228 278.9) |
| XYZ | xyz(12.2744, 5.9307, 51.5264) |
| Luminance | 0.0593 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.74
Violet Blue
#510AC9
ΔE00 2.77
True Blue
#010FCC
ΔE00 3.69
Ultramarine Blue
#1805DB
ΔE00 3.74
Purple Blue
#5D21D0
ΔE00 4.29
Pure Blue
#0203E2
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F1FC2 #A2C21F
analogous
#1F51C2 #3F1FC2 #911FC2
triadic
#3F1FC2 #C23F1F #1FC23F
tetradic
#3F1FC2 #C21F51 #A2C21F #1FC291
square
#3F1FC2 #C21F51 #A2C21F #1FC291
split-complementary
#3F1FC2 #C2911F #51C21F
monochromatic
#1D0E58 #2E178D #3F1FC2 #5E3EE0 #8A73E9
Accessibility & contrast
On white
9.60
#3F1FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#3F1FC2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F1FC2
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F1FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F1FC2 | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BC6
Deuteranopia (green-blind)
#003EBF
Tritanopia (blue-blind)
#005474
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #3f1fc2; /* rgb */ color: rgb(63, 31, 194); /* oklch */ color: oklch(41.6% 0.228 278.9);
Tailwind
colors: {
custom: {
50: '#8762d6',
500: '#3f1fc2',
950: '#000000',
},
}SCSS
$custom: #3f1fc2; $custom-light: #8762d6; $custom-dark: #000000;
JSON
{
"hex": "#3f1fc2",
"rgb": {
"r": 63,
"g": 31,
"b": 194
},
"hsl": {
"h": 251.779,
"s": 72.444,
"l": 44.118
},
"oklch": {
"l": 0.41625,
"c": 0.22755,
"h": 278.9
},
"luminance": 0.05932
}Semantic roles & 50–950 ramp
primary
#3F1FC2
secondary
#BCCF6D
accent
#EF39CB
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0615
muted
#7E7A83