#3C1F95#3C1F95
#3C1F95 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.177 H 284.8°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1F95 |
|---|---|
| RGB | rgb(60, 31, 149) |
| HSL | hsl(255, 66%, 35%) |
| HSV | hsv(255, 79%, 58%) |
| CMYK | cmyk(59.7%, 79.2%, 0%, 41.6%) |
| CIE-LAB | lab(24.03, 44.51, -59.38) |
| CIE-LCH | lch(24.03, 74.21, 306.86°) |
| OKLab | oklab(36.51% 0.0451 -0.1711) |
| OKLCH | oklch(36.51% 0.177 284.8) |
| XYZ | xyz(7.7766, 4.1101, 28.8115) |
| Luminance | 0.0411 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.94
Royal
#0C1793
ΔE00 4.58
Indigo (survey)
#380282
ΔE00 5.10
Cobalt Blue
#030AA7
ΔE00 5.37
Ultramarine
#2000B1
ΔE00 5.50
Royal Blue (survey)
#0504AA
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1F95 #78951F
analogous
#1F3D95 #3C1F95 #771F95
triadic
#3C1F95 #953C1F #1F953C
tetradic
#3C1F95 #951F3D #78951F #1F9577
square
#3C1F95 #951F3D #78951F #1F9577
split-complementary
#3C1F95 #95771F #3D951F
monochromatic
#130A30 #281462 #3C1F95 #502AC8 #7553DB
Accessibility & contrast
On white
11.52
#3C1F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#3C1F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1F95
11.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1F95 | 1.00 | 11.52 | 1.82 | 11.52 |
| #FFFFFF | 11.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#064159
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3c1f95; /* rgb */ color: rgb(60, 31, 149); /* oklch */ color: oklch(36.5% 0.177 284.8);
Tailwind
colors: {
custom: {
50: '#7d5fb5',
500: '#3c1f95',
950: '#000000',
},
}SCSS
$custom: #3c1f95; $custom-light: #7d5fb5; $custom-dark: #000000;
JSON
{
"hex": "#3c1f95",
"rgb": {
"r": 60,
"g": 31,
"b": 149
},
"hsl": {
"h": 254.746,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.36511,
"c": 0.17693,
"h": 284.8
},
"luminance": 0.04111
}Semantic roles & 50–950 ramp
primary
#3C1F95
secondary
#A4BF51
accent
#E93FBF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980