#4C219B#4C219B
#4C219B is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.181 H 291.7°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #4C219B |
|---|---|
| RGB | rgb(76, 33, 155) |
| HSL | hsl(261, 65%, 37%) |
| HSV | hsv(261, 79%, 61%) |
| CMYK | cmyk(51%, 78.7%, 0%, 39.2%) |
| CIE-LAB | lab(26.71, 47.46, -58.60) |
| CIE-LCH | lch(26.71, 75.41, 309.00°) |
| OKLab | oklab(38.97% 0.0669 -0.1683) |
| OKLCH | oklch(38.97% 0.181 291.7) |
| XYZ | xyz(9.4391, 4.9904, 31.4699) |
| Luminance | 0.0499 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.07
Indigo
#4B0082
ΔE00 5.80
Rebeccapurple
#663399
ΔE00 6.15
Violet Blue
#510AC9
ΔE00 6.24
Indigo (survey)
#380282
ΔE00 6.35
Ultramarine
#2000B1
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C219B #709B21
analogous
#21339B #4C219B #89219B
triadic
#4C219B #9B4C21 #219B4C
tetradic
#4C219B #9B2133 #709B21 #219B89
square
#4C219B #9B2133 #709B21 #219B89
split-complementary
#4C219B #9B8921 #339B21
monochromatic
#1B0C36 #331669 #4C219B #652CCD #885ADC
Accessibility & contrast
On white
10.51
#4C219B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#4C219B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C219B
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C219B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C219B | 1.00 | 10.51 | 2.00 | 10.51 |
| #FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#31435D
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #4c219b; /* rgb */ color: rgb(76, 33, 155); /* oklch */ color: oklch(39.0% 0.181 291.7);
Tailwind
colors: {
custom: {
50: '#8762ba',
500: '#4c219b',
950: '#000000',
},
}SCSS
$custom: #4c219b; $custom-light: #8762ba; $custom-dark: #000000;
JSON
{
"hex": "#4c219b",
"rgb": {
"r": 76,
"g": 33,
"b": 155
},
"hsl": {
"h": 261.148,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.38968,
"c": 0.18111,
"h": 291.7
},
"luminance": 0.04991
}Semantic roles & 50–950 ramp
primary
#4C219B
secondary
#9BC058
accent
#E840AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81