#4B289B#4B289B
#4B289B is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.174 H 290.0°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #4B289B |
|---|---|
| RGB | rgb(75, 40, 155) |
| HSL | hsl(258, 59%, 38%) |
| HSV | hsv(258, 74%, 61%) |
| CMYK | cmyk(51.6%, 74.2%, 0%, 39.2%) |
| CIE-LAB | lab(27.79, 43.90, -56.83) |
| CIE-LCH | lch(27.79, 71.81, 307.69°) |
| OKLab | oklab(39.7% 0.0596 -0.1632) |
| OKLCH | oklch(39.7% 0.174 290) |
| XYZ | xyz(9.5751, 5.3796, 31.5378) |
| Luminance | 0.0538 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.60
Rebeccapurple
#663399
ΔE00 5.64
Violet Blue
#510AC9
ΔE00 6.73
Darkslateblue
#483D8B
ΔE00 6.76
Indigo
#4B0082
ΔE00 6.97
Blueberry
#464196
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B289B #789B28
analogous
#283E9B #4B289B #84289B
triadic
#4B289B #9B4B28 #289B4B
tetradic
#4B289B #9B283E #789B28 #289B84
square
#4B289B #9B283E #789B28 #289B84
split-complementary
#4B289B #9B8428 #3E9B28
monochromatic
#1C0F3A #331B6A #4B289B #6335CB #8866D7
Accessibility & contrast
On white
10.12
#4B289B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#4B289B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B289B
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B289B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B289B | 1.00 | 10.12 | 2.08 | 10.12 |
| #FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#2F475F
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4b289b; /* rgb */ color: rgb(75, 40, 155); /* oklch */ color: oklch(39.7% 0.174 290.0);
Tailwind
colors: {
custom: {
50: '#8665b9',
500: '#4b289b',
950: '#000000',
},
}SCSS
$custom: #4b289b; $custom-light: #8665b9; $custom-dark: #000000;
JSON
{
"hex": "#4b289b",
"rgb": {
"r": 75,
"g": 40,
"b": 155
},
"hsl": {
"h": 258.261,
"s": 58.974,
"l": 38.235
},
"oklch": {
"l": 0.39702,
"c": 0.17374,
"h": 290
},
"luminance": 0.0538
}Semantic roles & 50–950 ramp
primary
#4B289B
secondary
#A1BD61
accent
#E246B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81