#4A269B#4A269B
#4A269B is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.176 H 289.9°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).
Color values
| HEX | #4A269B |
|---|---|
| RGB | rgb(74, 38, 155) |
| HSL | hsl(258, 61%, 38%) |
| HSV | hsv(258, 75%, 61%) |
| CMYK | cmyk(52.3%, 75.5%, 0%, 39.2%) |
| CIE-LAB | lab(27.32, 44.76, -57.60) |
| CIE-LCH | lch(27.32, 72.95, 307.85°) |
| OKLab | oklab(39.35% 0.0598 -0.1655) |
| OKLCH | oklch(39.35% 0.176 289.9) |
| XYZ | xyz(9.4318, 5.2082, 31.5123) |
| Luminance | 0.0521 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.30
Rebeccapurple
#663399
ΔE00 5.94
Violet Blue
#510AC9
ΔE00 6.57
Indigo
#4B0082
ΔE00 6.65
Ultramarine
#2000B1
ΔE00 6.98
Indigo (survey)
#380282
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A269B #779B26
analogous
#263C9B #4A269B #85269B
triadic
#4A269B #9B4A26 #269B4A
tetradic
#4A269B #9B263C #779B26 #269B85
square
#4A269B #9B263C #779B26 #269B85
split-complementary
#4A269B #9B8526 #3C9B26
monochromatic
#1B0E39 #331A6A #4A269B #6132CC #8763D9
Accessibility & contrast
On white
10.29
#4A269B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#4A269B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A269B
10.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A269B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A269B | 1.00 | 10.29 | 2.04 | 10.29 |
| #FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#2D465F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4a269b; /* rgb */ color: rgb(74, 38, 155); /* oklch */ color: oklch(39.3% 0.176 289.9);
Tailwind
colors: {
custom: {
50: '#8564ba',
500: '#4a269b',
950: '#000000',
},
}SCSS
$custom: #4a269b; $custom-light: #8564ba; $custom-dark: #000000;
JSON
{
"hex": "#4a269b",
"rgb": {
"r": 74,
"g": 38,
"b": 155
},
"hsl": {
"h": 258.462,
"s": 60.622,
"l": 37.843
},
"oklch": {
"l": 0.39345,
"c": 0.17596,
"h": 289.9
},
"luminance": 0.05209
}Semantic roles & 50–950 ramp
primary
#4A269B
secondary
#A1BE5F
accent
#E444B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81