#3C1F93#3C1F93
#3C1F93 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.175 H 285.2°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1F93 |
|---|---|
| RGB | rgb(60, 31, 147) |
| HSL | hsl(255, 65%, 35%) |
| HSV | hsv(255, 79%, 58%) |
| CMYK | cmyk(59.2%, 78.9%, 0%, 42.4%) |
| CIE-LAB | lab(23.83, 43.92, -58.48) |
| CIE-LCH | lch(23.83, 73.14, 306.90°) |
| OKLab | oklab(36.31% 0.0457 -0.1685) |
| OKLCH | oklch(36.31% 0.175 285.2) |
| XYZ | xyz(7.6183, 4.0468, 27.9778) |
| Luminance | 0.0405 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.23
Royal
#0C1793
ΔE00 4.59
Indigo (survey)
#380282
ΔE00 4.95
Cobalt Blue
#030AA7
ΔE00 5.52
Indigo
#4B0082
ΔE00 5.68
Ultramarine
#2000B1
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1F93 #76931F
analogous
#1F3C93 #3C1F93 #761F93
triadic
#3C1F93 #933C1F #1F933C
tetradic
#3C1F93 #931F3C #76931F #1F9376
square
#3C1F93 #931F3C #76931F #1F9376
split-complementary
#3C1F93 #93761F #3C931F
monochromatic
#130A2E #271460 #3C1F93 #512AC6 #7452DA
Accessibility & contrast
On white
11.61
#3C1F93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#3C1F93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1F93
11.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1F93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1F93 | 1.00 | 11.61 | 1.81 | 11.61 |
| #FFFFFF | 11.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C96
Deuteranopia (green-blind)
#003591
Tritanopia (blue-blind)
#0C4158
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3c1f93; /* rgb */ color: rgb(60, 31, 147); /* oklch */ color: oklch(36.3% 0.175 285.2);
Tailwind
colors: {
custom: {
50: '#7d5fb4',
500: '#3c1f93',
950: '#000000',
},
}SCSS
$custom: #3c1f93; $custom-light: #7d5fb4; $custom-dark: #000000;
JSON
{
"hex": "#3c1f93",
"rgb": {
"r": 60,
"g": 31,
"b": 147
},
"hsl": {
"h": 255,
"s": 65.169,
"l": 34.902
},
"oklch": {
"l": 0.36305,
"c": 0.17457,
"h": 285.2
},
"luminance": 0.04047
}Semantic roles & 50–950 ramp
primary
#3C1F93
secondary
#A2BE50
accent
#E840BE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980