#3C1FB4#3C1FB4
#3C1FB4 is a dark, highly saturated violet. Relative luminance 0.052; OKLCH L 39.8% C 0.213 H 279.5°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1FB4 |
|---|---|
| RGB | rgb(60, 31, 180) |
| HSL | hsl(252, 71%, 41%) |
| HSV | hsv(252, 83%, 71%) |
| CMYK | cmyk(66.7%, 82.8%, 0%, 29.4%) |
| CIE-LAB | lab(27.39, 53.55, -72.62) |
| CIE-LCH | lch(27.39, 90.23, 306.40°) |
| OKLab | oklab(39.83% 0.0353 -0.2097) |
| OKLCH | oklch(39.83% 0.213 279.5) |
| XYZ | xyz(10.5891, 5.2350, 43.6236) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.23
Violet Blue
#510AC9
ΔE00 3.93
True Blue
#010FCC
ΔE00 4.00
Ultramarine
#2000B1
ΔE00 4.44
Mediumblue
#0000CD
ΔE00 4.56
Ultramarine Blue
#1805DB
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1FB4 #97B41F
analogous
#1F4DB4 #3C1FB4 #871FB4
triadic
#3C1FB4 #B43C1F #1FB43C
tetradic
#3C1FB4 #B41F4D #97B41F #1FB487
square
#3C1FB4 #B41F4D #97B41F #1FB487
split-complementary
#3C1FB4 #B4871F #4DB41F
monochromatic
#190D4C #2B1680 #3C1FB4 #5534DC #8168E5
Accessibility & contrast
On white
10.26
#3C1FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#3C1FB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1FB4
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1FB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1FB4 | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046B8
Deuteranopia (green-blind)
#003BB1
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #3c1fb4; /* rgb */ color: rgb(60, 31, 180); /* oklch */ color: oklch(39.8% 0.213 279.5);
Tailwind
colors: {
custom: {
50: '#8361cc',
500: '#3c1fb4',
950: '#000000',
},
}SCSS
$custom: #3c1fb4; $custom-light: #8361cc; $custom-dark: #000000;
JSON
{
"hex": "#3c1fb4",
"rgb": {
"r": 60,
"g": 31,
"b": 180
},
"hsl": {
"h": 251.678,
"s": 70.616,
"l": 41.373
},
"oklch": {
"l": 0.39834,
"c": 0.21262,
"h": 279.5
},
"luminance": 0.05236
}Semantic roles & 50–950 ramp
primary
#3C1FB4
secondary
#B7CB64
accent
#ED3ACB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0514
muted
#7D7A82