#3C199E#3C199E
#3C199E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.8% C 0.192 H 283.7°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).
Color values
| HEX | #3C199E |
|---|---|
| RGB | rgb(60, 25, 158) |
| HSL | hsl(256, 73%, 36%) |
| HSV | hsv(256, 84%, 62%) |
| CMYK | cmyk(62%, 84.2%, 0%, 38%) |
| CIE-LAB | lab(24.08, 49.80, -64.83) |
| CIE-LCH | lch(24.08, 81.75, 307.53°) |
| OKLab | oklab(36.83% 0.0456 -0.1869) |
| OKLCH | oklch(36.83% 0.192 283.7) |
| XYZ | xyz(8.3808, 4.1240, 32.6955) |
| Luminance | 0.0413 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.55
Ultramarine
#2000B1
ΔE00 4.06
Cobalt Blue
#030AA7
ΔE00 4.38
Royal Blue (survey)
#0504AA
ΔE00 4.56
Royal
#0C1793
ΔE00 4.61
Indigo (survey)
#380282
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C199E #7B9E19
analogous
#19399E #3C199E #7E199E
triadic
#3C199E #9E3C19 #199E3C
tetradic
#3C199E #9E1939 #7B9E19 #199E7E
square
#3C199E #9E1939 #7B9E19 #199E7E
split-complementary
#3C199E #9E7E19 #399E19
monochromatic
#140834 #281169 #3C199E #5021D3 #754EE3
Accessibility & contrast
On white
11.51
#3C199E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#3C199E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C199E
11.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C199E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C199E | 1.00 | 11.51 | 1.83 | 11.51 |
| #FFFFFF | 11.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #3c199e; /* rgb */ color: rgb(60, 25, 158); /* oklch */ color: oklch(36.8% 0.192 283.7);
Tailwind
colors: {
custom: {
50: '#7f5dbc',
500: '#3c199e',
950: '#000000',
},
}SCSS
$custom: #3c199e; $custom-light: #7f5dbc; $custom-dark: #000000;
JSON
{
"hex": "#3c199e",
"rgb": {
"r": 60,
"g": 25,
"b": 158
},
"hsl": {
"h": 255.789,
"s": 72.678,
"l": 35.882
},
"oklch": {
"l": 0.3683,
"c": 0.1924,
"h": 283.7
},
"luminance": 0.04125
}Semantic roles & 50–950 ramp
primary
#3C199E
secondary
#A6C54E
accent
#EF38BF
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0B0412
muted
#7C7981