#4A2D91#4A2D91
#4A2D91 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.4% C 0.155 H 290.8°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2D91 |
|---|---|
| RGB | rgb(74, 45, 145) |
| HSL | hsl(257, 53%, 37%) |
| HSV | hsv(257, 69%, 57%) |
| CMYK | cmyk(49%, 69%, 0%, 43.1%) |
| CIE-LAB | lab(27.78, 38.09, -50.71) |
| CIE-LCH | lch(27.78, 63.42, 306.92°) |
| OKLab | oklab(39.4% 0.0553 -0.1453) |
| OKLCH | oklch(39.4% 0.155 290.8) |
| XYZ | xyz(8.8718, 5.3766, 27.3529) |
| Luminance | 0.0538 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.08
Rebeccapurple
#663399
ΔE00 5.36
Blueberry
#464196
ΔE00 6.08
Indigo Blue
#3A18B1
ΔE00 6.44
Indigo
#4B0082
ΔE00 7.49
Ocean Blue
#4F42B5
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2D91 #74912D
analogous
#2D4291 #4A2D91 #7C2D91
triadic
#4A2D91 #914A2D #2D914A
tetradic
#4A2D91 #912D42 #74912D #2D917C
square
#4A2D91 #912D42 #74912D #2D917C
split-complementary
#4A2D91 #917C2D #42912D
monochromatic
#1A1034 #321F62 #4A2D91 #623BC0 #8668D0
Accessibility & contrast
On white
10.12
#4A2D91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#4A2D91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2D91
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2D91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2D91 | 1.00 | 10.12 | 2.08 | 10.12 |
| #FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#003F8F
Tritanopia (blue-blind)
#33465B
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4a2d91; /* rgb */ color: rgb(74, 45, 145); /* oklch */ color: oklch(39.4% 0.155 290.8);
Tailwind
colors: {
custom: {
50: '#8368b2',
500: '#4a2d91',
950: '#000000',
},
}SCSS
$custom: #4a2d91; $custom-light: #8368b2; $custom-dark: #000000;
JSON
{
"hex": "#4a2d91",
"rgb": {
"r": 74,
"g": 45,
"b": 145
},
"hsl": {
"h": 257.4,
"s": 52.632,
"l": 37.255
},
"oklch": {
"l": 0.394,
"c": 0.15546,
"h": 290.8
},
"luminance": 0.05377
}Semantic roles & 50–950 ramp
primary
#4A2D91
secondary
#9FB763
accent
#DC4CB2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80