#4A2D9C#4A2D9C
#4A2D9C is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.169 H 288.4°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2D9C |
|---|---|
| RGB | rgb(74, 45, 156) |
| HSL | hsl(256, 55%, 39%) |
| HSV | hsv(256, 71%, 61%) |
| CMYK | cmyk(52.6%, 71.2%, 0%, 38.8%) |
| CIE-LAB | lab(28.73, 41.36, -55.91) |
| CIE-LCH | lch(28.73, 69.54, 306.49°) |
| OKLab | oklab(40.37% 0.0534 -0.1606) |
| OKLCH | oklch(40.37% 0.169 288.4) |
| XYZ | xyz(9.7614, 5.7325, 32.0382) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.17
Rebeccapurple
#663399
ΔE00 5.54
Darkslateblue
#483D8B
ΔE00 5.80
Blueberry
#464196
ΔE00 6.13
Ocean Blue
#4F42B5
ΔE00 6.45
Sapphire (survey)
#2138AB
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2D9C #7F9C2D
analogous
#2D479C #4A2D9C #822D9C
triadic
#4A2D9C #9C4A2D #2D9C4A
tetradic
#4A2D9C #9C2D47 #7F9C2D #2D9C82
square
#4A2D9C #9C2D47 #7F9C2D #2D9C82
split-complementary
#4A2D9C #9C822D #479C2D
monochromatic
#1D123D #331F6D #4A2D9C #623FC8 #896ED5
Accessibility & contrast
On white
9.78
#4A2D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#4A2D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2D9C
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2D9C | 1.00 | 9.78 | 2.15 | 9.78 |
| #FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#2B4A61
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #4a2d9c; /* rgb */ color: rgb(74, 45, 156); /* oklch */ color: oklch(40.4% 0.169 288.4);
Tailwind
colors: {
custom: {
50: '#8568ba',
500: '#4a2d9c',
950: '#000000',
},
}SCSS
$custom: #4a2d9c; $custom-light: #8568ba; $custom-dark: #000000;
JSON
{
"hex": "#4a2d9c",
"rgb": {
"r": 74,
"g": 45,
"b": 156
},
"hsl": {
"h": 255.676,
"s": 55.224,
"l": 39.412
},
"oklch": {
"l": 0.4037,
"c": 0.1692,
"h": 288.4
},
"luminance": 0.05733
}Semantic roles & 50–950 ramp
primary
#4A2D9C
secondary
#A6BC68
accent
#DF49B8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81