#4A289B#4A289B
#4A289B is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.174 H 289.5°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #4A289B |
|---|---|
| RGB | rgb(74, 40, 155) |
| HSL | hsl(258, 59%, 38%) |
| HSV | hsv(258, 74%, 61%) |
| CMYK | cmyk(52.3%, 74.2%, 0%, 39.2%) |
| CIE-LAB | lab(27.68, 43.74, -57.01) |
| CIE-LCH | lch(27.68, 71.86, 307.50°) |
| OKLab | oklab(39.6% 0.0581 -0.1638) |
| OKLCH | oklch(39.6% 0.174 289.5) |
| XYZ | xyz(9.4975, 5.3396, 31.5342) |
| Luminance | 0.0534 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.53
Rebeccapurple
#663399
ΔE00 5.78
Violet Blue
#510AC9
ΔE00 6.74
Darkslateblue
#483D8B
ΔE00 6.74
Indigo
#4B0082
ΔE00 7.00
Royal
#0C1793
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A289B #799B28
analogous
#283F9B #4A289B #83289B
triadic
#4A289B #9B4A28 #289B4A
tetradic
#4A289B #9B283F #799B28 #289B83
square
#4A289B #9B283F #799B28 #289B83
split-complementary
#4A289B #9B8328 #3F9B28
monochromatic
#1C0F3A #331B6A #4A289B #6235CB #8766D7
Accessibility & contrast
On white
10.15
#4A289B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#4A289B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A289B
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A289B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A289B | 1.00 | 10.15 | 2.07 | 10.15 |
| #FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#2D475F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4a289b; /* rgb */ color: rgb(74, 40, 155); /* oklch */ color: oklch(39.6% 0.174 289.5);
Tailwind
colors: {
custom: {
50: '#8565b9',
500: '#4a289b',
950: '#000000',
},
}SCSS
$custom: #4a289b; $custom-light: #8565b9; $custom-dark: #000000;
JSON
{
"hex": "#4a289b",
"rgb": {
"r": 74,
"g": 40,
"b": 155
},
"hsl": {
"h": 257.739,
"s": 58.974,
"l": 38.235
},
"oklch": {
"l": 0.396,
"c": 0.17376,
"h": 289.5
},
"luminance": 0.0534
}Semantic roles & 50–950 ramp
primary
#4A289B
secondary
#A2BD61
accent
#E246B4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81