#4A309F#4A309F
#4A309F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.1% C 0.169 H 287.2°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #4A309F |
|---|---|
| RGB | rgb(74, 48, 159) |
| HSL | hsl(254, 54%, 41%) |
| HSV | hsv(254, 70%, 62%) |
| CMYK | cmyk(53.5%, 69.8%, 0%, 37.6%) |
| CIE-LAB | lab(29.59, 40.59, -56.32) |
| CIE-LCH | lch(29.59, 69.42, 305.78°) |
| OKLab | oklab(41.07% 0.05 -0.1618) |
| OKLCH | oklch(41.07% 0.169 287.2) |
| XYZ | xyz(10.1371, 6.0724, 33.4321) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.46
Indigo Blue
#3A18B1
ΔE00 5.46
Blueberry
#464196
ΔE00 5.52
Rebeccapurple
#663399
ΔE00 5.60
Ocean Blue
#4F42B5
ΔE00 5.62
Sapphire (survey)
#2138AB
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A309F #859F30
analogous
#304D9F #4A309F #81309F
triadic
#4A309F #9F4A30 #309F4A
tetradic
#4A309F #9F304D #859F30 #309F81
square
#4A309F #9F304D #859F30 #309F81
split-complementary
#4A309F #9F8130 #4D9F30
monochromatic
#1E1441 #342270 #4A309F #6445C7 #8B74D5
Accessibility & contrast
On white
9.48
#4A309F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#4A309F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A309F
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A309F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A309F | 1.00 | 9.48 | 2.21 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#294D64
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #4a309f; /* rgb */ color: rgb(74, 48, 159); /* oklch */ color: oklch(41.1% 0.169 287.2);
Tailwind
colors: {
custom: {
50: '#856abc',
500: '#4a309f',
950: '#000000',
},
}SCSS
$custom: #4a309f; $custom-light: #856abc; $custom-dark: #000000;
JSON
{
"hex": "#4a309f",
"rgb": {
"r": 74,
"g": 48,
"b": 159
},
"hsl": {
"h": 254.054,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.41071,
"c": 0.16932,
"h": 287.2
},
"luminance": 0.06073
}Semantic roles & 50–950 ramp
primary
#4A309F
secondary
#AABD6E
accent
#DD4BBB
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0712
muted
#7D7A81