#4A248D#4A248D
#4A248D is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.162 H 293.7°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).
Color values
| HEX | #4A248D |
|---|---|
| RGB | rgb(74, 36, 141) |
| HSL | hsl(262, 59%, 35%) |
| HSV | hsv(262, 74%, 55%) |
| CMYK | cmyk(47.5%, 74.5%, 0%, 44.7%) |
| CIE-LAB | lab(25.68, 41.81, -51.66) |
| CIE-LCH | lch(25.68, 66.46, 308.98°) |
| OKLab | oklab(37.8% 0.065 -0.148) |
| OKLCH | oklch(37.8% 0.162 293.7) |
| XYZ | xyz(8.2613, 4.6404, 25.6546) |
| Luminance | 0.0464 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 5.31
Indigo (survey)
#380282
ΔE00 5.98
Indigo Blue
#3A18B1
ΔE00 6.01
Rebeccapurple
#663399
ΔE00 6.04
Darkslateblue
#483D8B
ΔE00 7.07
Royal
#0C1793
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A248D #678D24
analogous
#24338D #4A248D #7E248D
triadic
#4A248D #8D4A24 #248D4A
tetradic
#4A248D #8D2433 #678D24 #248D7E
square
#4A248D #8D2433 #678D24 #248D7E
split-complementary
#4A248D #8D7E24 #338D24
monochromatic
#170B2B #30185C #4A248D #6430BE #8457D4
Accessibility & contrast
On white
10.89
#4A248D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#4A248D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A248D
10.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A248D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A248D | 1.00 | 10.89 | 1.93 | 10.89 |
| #FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#363F56
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #4a248d; /* rgb */ color: rgb(74, 36, 141); /* oklch */ color: oklch(37.8% 0.162 293.7);
Tailwind
colors: {
custom: {
50: '#8362af',
500: '#4a248d',
950: '#000000',
},
}SCSS
$custom: #4a248d; $custom-light: #8362af; $custom-dark: #000000;
JSON
{
"hex": "#4a248d",
"rgb": {
"r": 74,
"g": 36,
"b": 141
},
"hsl": {
"h": 261.714,
"s": 59.322,
"l": 34.706
},
"oklch": {
"l": 0.37799,
"c": 0.16168,
"h": 293.7
},
"luminance": 0.04641
}Semantic roles & 50–950 ramp
primary
#4A248D
secondary
#94B854
accent
#E345AA
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0B0510
muted
#7C7A7F