#3C1D99#3C1D99
#3C1D99 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.183 H 284.2°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1D99 |
|---|---|
| RGB | rgb(60, 29, 153) |
| HSL | hsl(255, 68%, 36%) |
| HSV | hsv(255, 81%, 60%) |
| CMYK | cmyk(60.8%, 81%, 0%, 40%) |
| CIE-LAB | lab(24.13, 46.63, -61.69) |
| CIE-LCH | lch(24.13, 77.33, 307.09°) |
| OKLab | oklab(36.7% 0.0451 -0.1778) |
| OKLCH | oklch(36.7% 0.183 284.2) |
| XYZ | xyz(8.0508, 4.1388, 30.5054) |
| Luminance | 0.0414 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.29
Royal
#0C1793
ΔE00 4.53
Ultramarine
#2000B1
ΔE00 4.88
Cobalt Blue
#030AA7
ΔE00 4.92
Indigo (survey)
#380282
ΔE00 5.14
Royal Blue (survey)
#0504AA
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1D99 #7A991D
analogous
#1D3C99 #3C1D99 #7A1D99
triadic
#3C1D99 #993C1D #1D993C
tetradic
#3C1D99 #991D3C #7A991D #1D997A
square
#3C1D99 #991D3C #7A991D #1D997A
split-complementary
#3C1D99 #997A1D #3C991D
monochromatic
#140932 #281366 #3C1D99 #5027CC #7552DE
Accessibility & contrast
On white
11.49
#3C1D99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#3C1D99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1D99
11.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1D99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1D99 | 1.00 | 11.49 | 1.83 | 11.49 |
| #FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D9C
Deuteranopia (green-blind)
#003597
Tritanopia (blue-blind)
#00425B
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3c1d99; /* rgb */ color: rgb(60, 29, 153); /* oklch */ color: oklch(36.7% 0.183 284.2);
Tailwind
colors: {
custom: {
50: '#7e5eb8',
500: '#3c1d99',
950: '#000000',
},
}SCSS
$custom: #3c1d99; $custom-light: #7e5eb8; $custom-dark: #000000;
JSON
{
"hex": "#3c1d99",
"rgb": {
"r": 60,
"g": 29,
"b": 153
},
"hsl": {
"h": 255,
"s": 68.132,
"l": 35.686
},
"oklch": {
"l": 0.36701,
"c": 0.18344,
"h": 284.2
},
"luminance": 0.04139
}Semantic roles & 50–950 ramp
primary
#3C1D99
secondary
#A5C151
accent
#EB3DBF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981