#4A2F92#4A2F92
#4A2F92 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.8% C 0.154 H 290.1°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #4A2F92 |
|---|---|
| RGB | rgb(74, 47, 146) |
| HSL | hsl(256, 51%, 38%) |
| HSV | hsv(256, 68%, 57%) |
| CMYK | cmyk(49.3%, 67.8%, 0%, 42.7%) |
| CIE-LAB | lab(28.28, 37.25, -50.51) |
| CIE-LCH | lch(28.28, 62.76, 306.41°) |
| OKLab | oklab(39.79% 0.053 -0.1447) |
| OKLCH | oklch(39.79% 0.154 290.1) |
| XYZ | xyz(9.0274, 5.5638, 27.7868) |
| Luminance | 0.0556 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.63
Rebeccapurple
#663399
ΔE00 5.32
Blueberry
#464196
ΔE00 5.56
Indigo Blue
#3A18B1
ΔE00 6.63
Ocean Blue
#4F42B5
ΔE00 7.12
Sapphire (survey)
#2138AB
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A2F92 #77922F
analogous
#2F4592 #4A2F92 #7B2F92
triadic
#4A2F92 #924A2F #2F924A
tetradic
#4A2F92 #922F45 #77922F #2F927B
square
#4A2F92 #922F45 #77922F #2F927B
split-complementary
#4A2F92 #927B2F #45922F
monochromatic
#1B1135 #332064 #4A2F92 #613EC0 #876CD0
Accessibility & contrast
On white
9.94
#4A2F92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#4A2F92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A2F92
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A2F92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A2F92 | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#004090
Tritanopia (blue-blind)
#32475C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4a2f92; /* rgb */ color: rgb(74, 47, 146); /* oklch */ color: oklch(39.8% 0.154 290.1);
Tailwind
colors: {
custom: {
50: '#8369b3',
500: '#4a2f92',
950: '#000000',
},
}SCSS
$custom: #4a2f92; $custom-light: #8369b3; $custom-dark: #000000;
JSON
{
"hex": "#4a2f92",
"rgb": {
"r": 74,
"g": 47,
"b": 146
},
"hsl": {
"h": 256.364,
"s": 51.295,
"l": 37.843
},
"oklch": {
"l": 0.39788,
"c": 0.15412,
"h": 290.1
},
"luminance": 0.05564
}Semantic roles & 50–950 ramp
primary
#4A2F92
secondary
#A1B766
accent
#DB4DB4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80