#4A2C92#4A2C92
#4A2C92 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.3% C 0.158 H 290.8°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2C92 |
|---|---|
| RGB | rgb(74, 44, 146) |
| HSL | hsl(258, 54%, 37%) |
| HSV | hsv(258, 70%, 57%) |
| CMYK | cmyk(49.3%, 69.9%, 0%, 42.7%) |
| CIE-LAB | lab(27.66, 38.95, -51.52) |
| CIE-LCH | lch(27.66, 64.59, 307.09°) |
| OKLab | oklab(39.34% 0.0561 -0.1477) |
| OKLCH | oklch(39.34% 0.158 290.8) |
| XYZ | xyz(8.9116, 5.3322, 27.7482) |
| Luminance | 0.0533 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.37
Rebeccapurple
#663399
ΔE00 5.40
Indigo Blue
#3A18B1
ΔE00 6.16
Blueberry
#464196
ΔE00 6.31
Indigo
#4B0082
ΔE00 7.29
Ocean Blue
#4F42B5
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2C92 #74922C
analogous
#2C4192 #4A2C92 #7D2C92
triadic
#4A2C92 #924A2C #2C924A
tetradic
#4A2C92 #922C41 #74922C #2C927D
square
#4A2C92 #922C41 #74922C #2C927D
split-complementary
#4A2C92 #927D2C #41922C
monochromatic
#1A1034 #321E63 #4A2C92 #623AC1 #8667D1
Accessibility & contrast
On white
10.16
#4A2C92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#4A2C92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2C92
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2C92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2C92 | 1.00 | 10.16 | 2.07 | 10.16 |
| #FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#33465B
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4a2c92; /* rgb */ color: rgb(74, 44, 146); /* oklch */ color: oklch(39.3% 0.158 290.8);
Tailwind
colors: {
custom: {
50: '#8367b3',
500: '#4a2c92',
950: '#000000',
},
}SCSS
$custom: #4a2c92; $custom-light: #8367b3; $custom-dark: #000000;
JSON
{
"hex": "#4a2c92",
"rgb": {
"r": 74,
"g": 44,
"b": 146
},
"hsl": {
"h": 257.647,
"s": 53.684,
"l": 37.255
},
"oklch": {
"l": 0.3934,
"c": 0.158,
"h": 290.8
},
"luminance": 0.05333
}Semantic roles & 50–950 ramp
primary
#4A2C92
secondary
#9FB862
accent
#DD4BB2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80