#4D2299#4D2299
#4D2299 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.178 H 292.6°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).
Color values
| HEX | #4D2299 |
|---|---|
| RGB | rgb(77, 34, 153) |
| HSL | hsl(262, 64%, 37%) |
| HSV | hsv(262, 78%, 60%) |
| CMYK | cmyk(49.7%, 77.8%, 0%, 40%) |
| CIE-LAB | lab(26.80, 46.60, -57.23) |
| CIE-LCH | lch(26.80, 73.80, 309.16°) |
| OKLab | oklab(39% 0.0682 -0.1643) |
| OKLCH | oklch(39% 0.178 292.6) |
| XYZ | xyz(9.3808, 5.0214, 30.6058) |
| Luminance | 0.0502 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.47
Indigo
#4B0082
ΔE00 5.74
Rebeccapurple
#663399
ΔE00 5.86
Indigo (survey)
#380282
ΔE00 6.40
Violet Blue
#510AC9
ΔE00 6.56
Ultramarine
#2000B1
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D2299 #6E9922
analogous
#223399 #4D2299 #892299
triadic
#4D2299 #994D22 #22994D
tetradic
#4D2299 #992233 #6E9922 #229989
square
#4D2299 #992233 #6E9922 #229989
split-complementary
#4D2299 #998922 #339922
monochromatic
#1B0C35 #341767 #4D2299 #662DCB #895BDB
Accessibility & contrast
On white
10.48
#4D2299 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#4D2299 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D2299
10.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D2299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D2299 | 1.00 | 10.48 | 2.00 | 10.48 |
| #FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#35435C
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #4d2299; /* rgb */ color: rgb(77, 34, 153); /* oklch */ color: oklch(39.0% 0.178 292.6);
Tailwind
colors: {
custom: {
50: '#8762b8',
500: '#4d2299',
950: '#000000',
},
}SCSS
$custom: #4d2299; $custom-light: #8762b8; $custom-dark: #000000;
JSON
{
"hex": "#4d2299",
"rgb": {
"r": 77,
"g": 34,
"b": 153
},
"hsl": {
"h": 261.681,
"s": 63.636,
"l": 36.667
},
"oklch": {
"l": 0.38999,
"c": 0.17787,
"h": 292.6
},
"luminance": 0.05022
}Semantic roles & 50–950 ramp
primary
#4D2299
secondary
#9ABF58
accent
#E741AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80