#3C219F#3C219F
#3C219F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.187 H 282.6°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).
Color values
| HEX | #3C219F |
|---|---|
| RGB | rgb(60, 33, 159) |
| HSL | hsl(253, 66%, 38%) |
| HSV | hsv(253, 79%, 62%) |
| CMYK | cmyk(62.3%, 79.2%, 0%, 37.6%) |
| CIE-LAB | lab(25.42, 46.51, -63.23) |
| CIE-LCH | lch(25.42, 78.49, 306.33°) |
| OKLab | oklab(37.79% 0.0408 -0.1824) |
| OKLCH | oklch(37.79% 0.187 282.6) |
| XYZ | xyz(8.6634, 4.5510, 33.2161) |
| Luminance | 0.0455 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.72
Royal
#0C1793
ΔE00 4.94
Ultramarine
#2000B1
ΔE00 4.98
Cobalt Blue
#030AA7
ΔE00 5.13
Royal Blue (survey)
#0504AA
ΔE00 5.41
True Blue
#010FCC
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C219F #849F21
analogous
#21459F #3C219F #7B219F
triadic
#3C219F #9F3C21 #219F3C
tetradic
#3C219F #9F2145 #849F21 #219F7B
square
#3C219F #9F2145 #849F21 #219F7B
split-complementary
#3C219F #9F7B21 #459F21
monochromatic
#160C3A #29166C #3C219F #4F2CD2 #795DDD
Accessibility & contrast
On white
10.99
#3C219F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#3C219F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C219F
10.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C219F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C219F | 1.00 | 10.99 | 1.91 | 10.99 |
| #FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #3c219f; /* rgb */ color: rgb(60, 33, 159); /* oklch */ color: oklch(37.8% 0.187 282.6);
Tailwind
colors: {
custom: {
50: '#7f61bd',
500: '#3c219f',
950: '#000000',
},
}SCSS
$custom: #3c219f; $custom-light: #7f61bd; $custom-dark: #000000;
JSON
{
"hex": "#3c219f",
"rgb": {
"r": 60,
"g": 33,
"b": 159
},
"hsl": {
"h": 252.857,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.37788,
"c": 0.18686,
"h": 282.6
},
"luminance": 0.04552
}Semantic roles & 50–950 ramp
primary
#3C219F
secondary
#ACC25A
accent
#E93FC4
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981