#3C1C99#3C1C99
#3C1C99 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.184 H 284.4°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).
Color values
| HEX | #3C1C99 |
|---|---|
| RGB | rgb(60, 28, 153) |
| HSL | hsl(255, 69%, 35%) |
| HSV | hsv(255, 82%, 60%) |
| CMYK | cmyk(60.8%, 81.7%, 0%, 40%) |
| CIE-LAB | lab(23.97, 47.09, -61.95) |
| CIE-LCH | lch(23.97, 77.81, 307.24°) |
| OKLab | oklab(36.59% 0.0457 -0.1785) |
| OKLCH | oklch(36.59% 0.184 284.4) |
| XYZ | xyz(8.0267, 4.0906, 30.4974) |
| Luminance | 0.0409 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.27
Royal
#0C1793
ΔE00 4.50
Ultramarine
#2000B1
ΔE00 4.77
Cobalt Blue
#030AA7
ΔE00 4.83
Indigo (survey)
#380282
ΔE00 5.00
Royal Blue (survey)
#0504AA
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C1C99 #79991C
analogous
#1C3A99 #3C1C99 #7A1C99
triadic
#3C1C99 #993C1C #1C993C
tetradic
#3C1C99 #991C3A #79991C #1C997A
square
#3C1C99 #991C3A #79991C #1C997A
split-complementary
#3C1C99 #997A1C #3A991C
monochromatic
#130932 #281365 #3C1C99 #5025CD #7550DF
Accessibility & contrast
On white
11.55
#3C1C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#3C1C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C1C99
11.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C1C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C1C99 | 1.00 | 11.55 | 1.82 | 11.55 |
| #FFFFFF | 11.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C9C
Deuteranopia (green-blind)
#003597
Tritanopia (blue-blind)
#00425B
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3c1c99; /* rgb */ color: rgb(60, 28, 153); /* oklch */ color: oklch(36.6% 0.184 284.4);
Tailwind
colors: {
custom: {
50: '#7e5eb8',
500: '#3c1c99',
950: '#000000',
},
}SCSS
$custom: #3c1c99; $custom-light: #7e5eb8; $custom-dark: #000000;
JSON
{
"hex": "#3c1c99",
"rgb": {
"r": 60,
"g": 28,
"b": 153
},
"hsl": {
"h": 255.36,
"s": 69.061,
"l": 35.49
},
"oklch": {
"l": 0.36593,
"c": 0.1843,
"h": 284.4
},
"luminance": 0.04091
}Semantic roles & 50–950 ramp
primary
#3C1C99
secondary
#A4C24F
accent
#EC3CBF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981