#4A1B9E#4A1B9E
#4A1B9E is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.4% C 0.190 H 290.6°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).
Color values
| HEX | #4A1B9E |
|---|---|
| RGB | rgb(74, 27, 158) |
| HSL | hsl(262, 71%, 36%) |
| HSV | hsv(262, 83%, 62%) |
| CMYK | cmyk(53.2%, 82.9%, 0%, 38%) |
| CIE-LAB | lab(25.89, 50.57, -61.79) |
| CIE-LCH | lch(25.89, 79.84, 309.29°) |
| OKLab | oklab(38.43% 0.0669 -0.1777) |
| OKLCH | oklch(38.43% 0.19 290.6) |
| XYZ | xyz(9.3858, 4.7079, 32.7553) |
| Luminance | 0.0471 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.31
Indigo
#4B0082
ΔE00 5.46
Ultramarine
#2000B1
ΔE00 5.56
Violet Blue
#510AC9
ΔE00 5.68
Indigo (survey)
#380282
ΔE00 5.81
Cobalt Blue
#030AA7
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A1B9E #6F9E1B
analogous
#1B2D9E #4A1B9E #8C1B9E
triadic
#4A1B9E #9E4A1B #1B9E4A
tetradic
#4A1B9E #9E1B2D #6F9E1B #1B9E8C
square
#4A1B9E #9E1B2D #6F9E1B #1B9E8C
split-complementary
#4A1B9E #9E8C1B #2D9E1B
monochromatic
#190935 #32126A #4A1B9E #6224D2 #8552E1
Accessibility & contrast
On white
10.82
#4A1B9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#4A1B9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A1B9E
10.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A1B9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A1B9E | 1.00 | 10.82 | 1.94 | 10.82 |
| #FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA2
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#2B425E
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #4a1b9e; /* rgb */ color: rgb(74, 27, 158); /* oklch */ color: oklch(38.4% 0.190 290.6);
Tailwind
colors: {
custom: {
50: '#865fbc',
500: '#4a1b9e',
950: '#000000',
},
}SCSS
$custom: #4a1b9e; $custom-light: #865fbc; $custom-dark: #000000;
JSON
{
"hex": "#4a1b9e",
"rgb": {
"r": 74,
"g": 27,
"b": 158
},
"hsl": {
"h": 261.527,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.38434,
"c": 0.18985,
"h": 290.6
},
"luminance": 0.04708
}Semantic roles & 50–950 ramp
primary
#4A1B9E
secondary
#9BC451
accent
#EE3AAD
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981