#4A2392#4A2392
#4A2392 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.169 H 292.5°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2392 |
|---|---|
| RGB | rgb(74, 35, 146) |
| HSL | hsl(261, 61%, 35%) |
| HSV | hsv(261, 76%, 57%) |
| CMYK | cmyk(49.3%, 76%, 0%, 42.7%) |
| CIE-LAB | lab(25.96, 43.71, -54.30) |
| CIE-LCH | lch(25.96, 69.71, 308.83°) |
| OKLab | oklab(38.13% 0.0647 -0.1558) |
| OKLCH | oklch(38.13% 0.169 292.5) |
| XYZ | xyz(8.6119, 4.7329, 27.6483) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.21
Indigo
#4B0082
ΔE00 5.41
Indigo (survey)
#380282
ΔE00 5.96
Rebeccapurple
#663399
ΔE00 6.10
Royal
#0C1793
ΔE00 6.94
Ultramarine
#2000B1
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2392 #6B9223
analogous
#233392 #4A2392 #812392
triadic
#4A2392 #924A23 #23924A
tetradic
#4A2392 #922333 #6B9223 #239281
square
#4A2392 #922333 #6B9223 #239281
split-complementary
#4A2392 #928123 #339223
monochromatic
#180B2F #311761 #4A2392 #632FC3 #8558D7
Accessibility & contrast
On white
10.79
#4A2392 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#4A2392 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2392
10.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2392 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2392 | 1.00 | 10.79 | 1.95 | 10.79 |
| #FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#334159
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #4a2392; /* rgb */ color: rgb(74, 35, 146); /* oklch */ color: oklch(38.1% 0.169 292.5);
Tailwind
colors: {
custom: {
50: '#8462b3',
500: '#4a2392',
950: '#000000',
},
}SCSS
$custom: #4a2392; $custom-light: #8462b3; $custom-dark: #000000;
JSON
{
"hex": "#4a2392",
"rgb": {
"r": 74,
"g": 35,
"b": 146
},
"hsl": {
"h": 261.081,
"s": 61.326,
"l": 35.49
},
"oklch": {
"l": 0.38132,
"c": 0.16869,
"h": 292.5
},
"luminance": 0.04733
}Semantic roles & 50–950 ramp
primary
#4A2392
secondary
#98BB55
accent
#E443AC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80