#4D219B#4D219B
#4D219B is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.181 H 292.2°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).
Color values
| HEX | #4D219B |
|---|---|
| RGB | rgb(77, 33, 155) |
| HSL | hsl(262, 65%, 37%) |
| HSV | hsv(262, 79%, 61%) |
| CMYK | cmyk(50.3%, 78.7%, 0%, 39.2%) |
| CIE-LAB | lab(26.82, 47.61, -58.40) |
| CIE-LCH | lch(26.82, 75.35, 309.19°) |
| OKLab | oklab(39.08% 0.0684 -0.1677) |
| OKLCH | oklch(39.08% 0.181 292.2) |
| XYZ | xyz(9.5192, 5.0317, 31.4736) |
| Luminance | 0.0503 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.17
Indigo
#4B0082
ΔE00 5.79
Rebeccapurple
#663399
ΔE00 6.02
Violet Blue
#510AC9
ΔE00 6.23
Indigo (survey)
#380282
ΔE00 6.42
Ultramarine
#2000B1
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D219B #6F9B21
analogous
#21329B #4D219B #8A219B
triadic
#4D219B #9B4D21 #219B4D
tetradic
#4D219B #9B2132 #6F9B21 #219B8A
square
#4D219B #9B2132 #6F9B21 #219B8A
split-complementary
#4D219B #9B8A21 #329B21
monochromatic
#1B0C36 #341669 #4D219B #662CCD #895ADC
Accessibility & contrast
On white
10.47
#4D219B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#4D219B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D219B
10.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D219B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D219B | 1.00 | 10.47 | 2.01 | 10.47 |
| #FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#33435D
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #4d219b; /* rgb */ color: rgb(77, 33, 155); /* oklch */ color: oklch(39.1% 0.181 292.2);
Tailwind
colors: {
custom: {
50: '#8762ba',
500: '#4d219b',
950: '#000000',
},
}SCSS
$custom: #4d219b; $custom-light: #8762ba; $custom-dark: #000000;
JSON
{
"hex": "#4d219b",
"rgb": {
"r": 77,
"g": 33,
"b": 155
},
"hsl": {
"h": 261.639,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.39077,
"c": 0.18112,
"h": 292.2
},
"luminance": 0.05032
}Semantic roles & 50–950 ramp
primary
#4D219B
secondary
#9AC058
accent
#E840AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81