#3C1FB2#3C1FB2
#3C1FB2 is a dark, highly saturated violet. Relative luminance 0.052; OKLCH L 39.6% C 0.210 H 279.8°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1FB2 |
|---|---|
| RGB | rgb(60, 31, 178) |
| HSL | hsl(252, 70%, 41%) |
| HSV | hsv(252, 83%, 70%) |
| CMYK | cmyk(66.3%, 82.6%, 0%, 30.2%) |
| CIE-LAB | lab(27.17, 52.97, -71.80) |
| CIE-LCH | lch(27.17, 89.23, 306.42°) |
| OKLab | oklab(39.61% 0.0359 -0.2073) |
| OKLCH | oklch(39.61% 0.21 279.8) |
| XYZ | xyz(10.3868, 5.1541, 42.5583) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 1.13
Violet Blue
#510AC9
ΔE00 4.12
True Blue
#010FCC
ΔE00 4.15
Ultramarine
#2000B1
ΔE00 4.38
Mediumblue
#0000CD
ΔE00 4.69
Ultramarine Blue
#1805DB
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1FB2 #95B21F
analogous
#1F4BB2 #3C1FB2 #851FB2
triadic
#3C1FB2 #B23C1F #1FB23C
tetradic
#3C1FB2 #B21F4B #95B21F #1FB285
square
#3C1FB2 #B21F4B #95B21F #1FB285
split-complementary
#3C1FB2 #B2851F #4BB21F
monochromatic
#190D4A #2A167E #3C1FB2 #5433DB #8067E5
Accessibility & contrast
On white
10.34
#3C1FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#3C1FB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1FB2
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1FB2 | 1.00 | 10.34 | 2.03 | 10.34 |
| #FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045B6
Deuteranopia (green-blind)
#003AAF
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #3c1fb2; /* rgb */ color: rgb(60, 31, 178); /* oklch */ color: oklch(39.6% 0.210 279.8);
Tailwind
colors: {
custom: {
50: '#8361ca',
500: '#3c1fb2',
950: '#000000',
},
}SCSS
$custom: #3c1fb2; $custom-light: #8361ca; $custom-dark: #000000;
JSON
{
"hex": "#3c1fb2",
"rgb": {
"r": 60,
"g": 31,
"b": 178
},
"hsl": {
"h": 251.837,
"s": 70.335,
"l": 40.98
},
"oklch": {
"l": 0.39613,
"c": 0.21038,
"h": 279.8
},
"luminance": 0.05155
}Semantic roles & 50–950 ramp
primary
#3C1FB2
secondary
#B6CA63
accent
#ED3BCA
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0513
muted
#7D7982