#3C219A#3C219A
#3C219A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.181 H 283.5°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).
Color values
| HEX | #3C219A |
|---|---|
| RGB | rgb(60, 33, 154) |
| HSL | hsl(253, 65%, 37%) |
| HSV | hsv(253, 79%, 60%) |
| CMYK | cmyk(61%, 78.6%, 0%, 39.6%) |
| CIE-LAB | lab(24.89, 45.02, -61.04) |
| CIE-LCH | lch(24.89, 75.84, 306.41°) |
| OKLab | oklab(37.27% 0.0423 -0.1759) |
| OKLCH | oklch(37.27% 0.181 283.5) |
| XYZ | xyz(8.2383, 4.3809, 30.9771) |
| Luminance | 0.0438 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.36
Royal
#0C1793
ΔE00 4.76
Cobalt Blue
#030AA7
ΔE00 5.31
Ultramarine
#2000B1
ΔE00 5.32
Royal Blue (survey)
#0504AA
ΔE00 5.62
Indigo (survey)
#380282
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C219A #7F9A21
analogous
#21439A #3C219A #79219A
triadic
#3C219A #9A3C21 #219A3C
tetradic
#3C219A #9A2143 #7F9A21 #219A79
square
#3C219A #9A2143 #7F9A21 #219A79
split-complementary
#3C219A #9A7921 #439A21
monochromatic
#150B35 #281668 #3C219A #502CCC #775ADC
Accessibility & contrast
On white
11.19
#3C219A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#3C219A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C219A
11.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C219A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C219A | 1.00 | 11.19 | 1.88 | 11.19 |
| #FFFFFF | 11.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003798
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3c219a; /* rgb */ color: rgb(60, 33, 154); /* oklch */ color: oklch(37.3% 0.181 283.5);
Tailwind
colors: {
custom: {
50: '#7e60b9',
500: '#3c219a',
950: '#000000',
},
}SCSS
$custom: #3c219a; $custom-light: #7e60b9; $custom-dark: #000000;
JSON
{
"hex": "#3c219a",
"rgb": {
"r": 60,
"g": 33,
"b": 154
},
"hsl": {
"h": 253.388,
"s": 64.706,
"l": 36.667
},
"oklch": {
"l": 0.37267,
"c": 0.18095,
"h": 283.5
},
"luminance": 0.04381
}Semantic roles & 50–950 ramp
primary
#3C219A
secondary
#A8C057
accent
#E840C2
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981