#3C219B#3C219B
#3C219B is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.182 H 283.3°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).
Color values
| HEX | #3C219B |
|---|---|
| RGB | rgb(60, 33, 155) |
| HSL | hsl(253, 65%, 37%) |
| HSV | hsv(253, 79%, 61%) |
| CMYK | cmyk(61.3%, 78.7%, 0%, 39.2%) |
| CIE-LAB | lab(25.00, 45.31, -61.48) |
| CIE-LCH | lch(25.00, 76.37, 306.39°) |
| OKLab | oklab(37.37% 0.042 -0.1772) |
| OKLCH | oklch(37.37% 0.182 283.3) |
| XYZ | xyz(8.3219, 4.4144, 31.4175) |
| Luminance | 0.0442 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.23
Royal
#0C1793
ΔE00 4.78
Ultramarine
#2000B1
ΔE00 5.24
Cobalt Blue
#030AA7
ΔE00 5.27
Royal Blue (survey)
#0504AA
ΔE00 5.57
Indigo (survey)
#380282
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3C219B #809B21
analogous
#21439B #3C219B #79219B
triadic
#3C219B #9B3C21 #219B3C
tetradic
#3C219B #9B2143 #809B21 #219B79
square
#3C219B #9B2143 #809B21 #219B79
split-complementary
#3C219B #9B7921 #439B21
monochromatic
#150C36 #281669 #3C219B #502CCD #775ADC
Accessibility & contrast
On white
11.15
#3C219B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#3C219B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3C219B
11.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3C219B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3C219B | 1.00 | 11.15 | 1.88 | 11.15 |
| #FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #3c219b; /* rgb */ color: rgb(60, 33, 155); /* oklch */ color: oklch(37.4% 0.182 283.3);
Tailwind
colors: {
custom: {
50: '#7e60ba',
500: '#3c219b',
950: '#000000',
},
}SCSS
$custom: #3c219b; $custom-light: #7e60ba; $custom-dark: #000000;
JSON
{
"hex": "#3c219b",
"rgb": {
"r": 60,
"g": 33,
"b": 155
},
"hsl": {
"h": 253.279,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.37371,
"c": 0.18214,
"h": 283.3
},
"luminance": 0.04415
}Semantic roles & 50–950 ramp
primary
#3C219B
secondary
#A9C058
accent
#E840C3
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981