#3C219E#3C219E
#3C219E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.186 H 282.8°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).
Color values
| HEX | #3C219E |
|---|---|
| RGB | rgb(60, 33, 158) |
| HSL | hsl(253, 65%, 37%) |
| HSV | hsv(253, 79%, 62%) |
| CMYK | cmyk(62%, 79.1%, 0%, 38%) |
| CIE-LAB | lab(25.31, 46.21, -62.79) |
| CIE-LCH | lch(25.31, 77.96, 306.35°) |
| OKLab | oklab(37.68% 0.0411 -0.1811) |
| OKLCH | oklch(37.68% 0.186 282.8) |
| XYZ | xyz(8.5770, 4.5164, 32.7609) |
| Luminance | 0.0452 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.84
Royal
#0C1793
ΔE00 4.89
Ultramarine
#2000B1
ΔE00 5.04
Cobalt Blue
#030AA7
ΔE00 5.16
Royal Blue (survey)
#0504AA
ΔE00 5.45
Indigo (survey)
#380282
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C219E #839E21
analogous
#21459E #3C219E #7B219E
triadic
#3C219E #9E3C21 #219E3C
tetradic
#3C219E #9E2145 #839E21 #219E7B
square
#3C219E #9E2145 #839E21 #219E7B
split-complementary
#3C219E #9E7B21 #459E21
monochromatic
#160C39 #29166B #3C219E #4F2CD1 #785CDD
Accessibility & contrast
On white
11.03
#3C219E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#3C219E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C219E
11.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C219E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C219E | 1.00 | 11.03 | 1.90 | 11.03 |
| #FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3c219e; /* rgb */ color: rgb(60, 33, 158); /* oklch */ color: oklch(37.7% 0.186 282.8);
Tailwind
colors: {
custom: {
50: '#7f61bc',
500: '#3c219e',
950: '#000000',
},
}SCSS
$custom: #3c219e; $custom-light: #7f61bc; $custom-dark: #000000;
JSON
{
"hex": "#3c219e",
"rgb": {
"r": 60,
"g": 33,
"b": 158
},
"hsl": {
"h": 252.96,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.37683,
"c": 0.18568,
"h": 282.8
},
"luminance": 0.04517
}Semantic roles & 50–950 ramp
primary
#3C219E
secondary
#ABC159
accent
#E83FC4
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981