#3C1FC2#3C1FC2
#3C1FC2 is a dark, highly saturated violet. Relative luminance 0.058; OKLCH L 41.4% C 0.228 H 277.7°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1FC2 |
|---|---|
| RGB | rgb(60, 31, 194) |
| HSL | hsl(251, 72%, 44%) |
| HSV | hsv(251, 84%, 76%) |
| CMYK | cmyk(69.1%, 84%, 0%, 23.9%) |
| CIE-LAB | lab(28.99, 57.52, -78.27) |
| CIE-LCH | lch(28.99, 97.13, 306.31°) |
| OKLab | oklab(41.4% 0.0308 -0.2261) |
| OKLCH | oklch(41.4% 0.228 277.7) |
| XYZ | xyz(12.0879, 5.8346, 51.5176) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.65
Violet Blue
#510AC9
ΔE00 3.00
True Blue
#010FCC
ΔE00 3.44
Ultramarine Blue
#1805DB
ΔE00 3.61
Mediumblue
#0000CD
ΔE00 4.15
Pure Blue
#0203E2
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1FC2 #A5C21F
analogous
#1F54C2 #3C1FC2 #8E1FC2
triadic
#3C1FC2 #C23C1F #1FC23C
tetradic
#3C1FC2 #C21F54 #A5C21F #1FC28E
square
#3C1FC2 #C21F54 #A5C21F #1FC28E
split-complementary
#3C1FC2 #C28E1F #54C21F
monochromatic
#1B0E58 #2C178D #3C1FC2 #5B3EE0 #8873E9
Accessibility & contrast
On white
9.69
#3C1FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#3C1FC2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1FC2
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1FC2 | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BC6
Deuteranopia (green-blind)
#003EBF
Tritanopia (blue-blind)
#005474
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #3c1fc2; /* rgb */ color: rgb(60, 31, 194); /* oklch */ color: oklch(41.4% 0.228 277.7);
Tailwind
colors: {
custom: {
50: '#8662d6',
500: '#3c1fc2',
950: '#000000',
},
}SCSS
$custom: #3c1fc2; $custom-light: #8662d6; $custom-dark: #000000;
JSON
{
"hex": "#3c1fc2",
"rgb": {
"r": 60,
"g": 31,
"b": 194
},
"hsl": {
"h": 250.675,
"s": 72.444,
"l": 44.118
},
"oklch": {
"l": 0.41395,
"c": 0.22817,
"h": 277.7
},
"luminance": 0.05836
}Semantic roles & 50–950 ramp
primary
#3C1FC2
secondary
#BECF6D
accent
#EF39CF
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0515
muted
#7E7A83