#4A267D#4A267D
#4A267D is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.140 H 298.1°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).
Color values
| HEX | #4A267D |
|---|---|
| RGB | rgb(74, 38, 125) |
| HSL | hsl(265, 53%, 32%) |
| HSV | hsv(265, 70%, 49%) |
| CMYK | cmyk(40.8%, 69.6%, 0%, 51%) |
| CIE-LAB | lab(24.71, 36.26, -43.22) |
| CIE-LCH | lch(24.71, 56.41, 310.00°) |
| OKLab | oklab(36.68% 0.0659 -0.1233) |
| OKLCH | oklch(36.68% 0.14 298.1) |
| XYZ | xyz(7.2179, 4.3226, 19.8521) |
| Luminance | 0.0432 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 5.83
Royal Purple (survey)
#4B006E
ΔE00 6.46
Rebeccapurple
#663399
ΔE00 6.66
Indigo (survey)
#380282
ΔE00 6.82
Darkslateblue
#483D8B
ΔE00 6.90
Midnight Blue
#191970
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A267D #597D26
analogous
#262D7D #4A267D #76267D
triadic
#4A267D #7D4A26 #267D4A
tetradic
#4A267D #7D262D #597D26 #267D76
square
#4A267D #7D262D #597D26 #267D76
split-complementary
#4A267D #7D7626 #2D7D26
monochromatic
#12091F #2E184E #4A267D #6634AC #8453CB
Accessibility & contrast
On white
11.26
#4A267D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#4A267D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A267D
11.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A267D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A267D | 1.00 | 11.26 | 1.86 | 11.26 |
| #FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#3E3A4E
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #4a267d; /* rgb */ color: rgb(74, 38, 125); /* oklch */ color: oklch(36.7% 0.140 298.1);
Tailwind
colors: {
custom: {
50: '#8163a3',
500: '#4a267d',
950: '#000000',
},
}SCSS
$custom: #4a267d; $custom-light: #8163a3; $custom-dark: #000000;
JSON
{
"hex": "#4a267d",
"rgb": {
"r": 74,
"g": 38,
"b": 125
},
"hsl": {
"h": 264.828,
"s": 53.374,
"l": 31.961
},
"oklch": {
"l": 0.36683,
"c": 0.13979,
"h": 298.1
},
"luminance": 0.04323
}Semantic roles & 50–950 ramp
primary
#4A267D
secondary
#88AF50
accent
#DD4BA0
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F