#3C2199#3C2199
#3C2199 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.180 H 283.7°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).
Color values
| HEX | #3C2199 |
|---|---|
| RGB | rgb(60, 33, 153) |
| HSL | hsl(254, 65%, 36%) |
| HSV | hsv(254, 78%, 60%) |
| CMYK | cmyk(60.8%, 78.4%, 0%, 40%) |
| CIE-LAB | lab(24.79, 44.72, -60.59) |
| CIE-LCH | lch(24.79, 75.31, 306.43°) |
| OKLab | oklab(37.16% 0.0425 -0.1747) |
| OKLCH | oklch(37.16% 0.18 283.7) |
| XYZ | xyz(8.1553, 4.3477, 30.5403) |
| Luminance | 0.0435 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.50
Royal
#0C1793
ΔE00 4.73
Cobalt Blue
#030AA7
ΔE00 5.36
Ultramarine
#2000B1
ΔE00 5.40
Royal Blue (survey)
#0504AA
ΔE00 5.68
Indigo (survey)
#380282
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C2199 #7E9921
analogous
#214299 #3C2199 #782199
triadic
#3C2199 #993C21 #21993C
tetradic
#3C2199 #992142 #7E9921 #219978
square
#3C2199 #992142 #7E9921 #219978
split-complementary
#3C2199 #997821 #429921
monochromatic
#150B34 #281667 #3C2199 #502CCB #7659DB
Accessibility & contrast
On white
11.23
#3C2199 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#3C2199 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C2199
11.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C2199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C2199 | 1.00 | 11.23 | 1.87 | 11.23 |
| #FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E9C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3c2199; /* rgb */ color: rgb(60, 33, 153); /* oklch */ color: oklch(37.2% 0.180 283.7);
Tailwind
colors: {
custom: {
50: '#7e60b8',
500: '#3c2199',
950: '#000000',
},
}SCSS
$custom: #3c2199; $custom-light: #7e60b8; $custom-dark: #000000;
JSON
{
"hex": "#3c2199",
"rgb": {
"r": 60,
"g": 33,
"b": 153
},
"hsl": {
"h": 253.5,
"s": 64.516,
"l": 36.471
},
"oklch": {
"l": 0.37164,
"c": 0.17977,
"h": 283.7
},
"luminance": 0.04348
}Semantic roles & 50–950 ramp
primary
#3C2199
secondary
#A8BF56
accent
#E840C2
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981