#4A289C#4A289C
#4A289C is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.175 H 289.3°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #4A289C |
|---|---|
| RGB | rgb(74, 40, 156) |
| HSL | hsl(258, 59%, 38%) |
| HSV | hsv(258, 74%, 61%) |
| CMYK | cmyk(52.6%, 74.4%, 0%, 38.8%) |
| CIE-LAB | lab(27.77, 44.03, -57.47) |
| CIE-LCH | lch(27.77, 72.40, 307.46°) |
| OKLab | oklab(39.69% 0.0578 -0.1651) |
| OKLCH | oklch(39.69% 0.175 289.3) |
| XYZ | xyz(9.5818, 5.3733, 31.9783) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.42
Rebeccapurple
#663399
ΔE00 5.82
Violet Blue
#510AC9
ΔE00 6.61
Darkslateblue
#483D8B
ΔE00 6.81
Indigo
#4B0082
ΔE00 7.08
Royal
#0C1793
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A289C #7A9C28
analogous
#28409C #4A289C #84289C
triadic
#4A289C #9C4A28 #289C4A
tetradic
#4A289C #9C2840 #7A9C28 #289C84
square
#4A289C #9C2840 #7A9C28 #289C84
split-complementary
#4A289C #9C8428 #409C28
monochromatic
#1C0F3B #331C6B #4A289C #6236CB #8867D8
Accessibility & contrast
On white
10.12
#4A289C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#4A289C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A289C
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A289C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A289C | 1.00 | 10.12 | 2.07 | 10.12 |
| #FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#2C4760
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4a289c; /* rgb */ color: rgb(74, 40, 156); /* oklch */ color: oklch(39.7% 0.175 289.3);
Tailwind
colors: {
custom: {
50: '#8565ba',
500: '#4a289c',
950: '#000000',
},
}SCSS
$custom: #4a289c; $custom-light: #8565ba; $custom-dark: #000000;
JSON
{
"hex": "#4a289c",
"rgb": {
"r": 74,
"g": 40,
"b": 156
},
"hsl": {
"h": 257.586,
"s": 59.184,
"l": 38.431
},
"oklch": {
"l": 0.39693,
"c": 0.17496,
"h": 289.3
},
"luminance": 0.05374
}Semantic roles & 50–950 ramp
primary
#4A289C
secondary
#A3BE62
accent
#E245B4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81