#4A259D#4A259D
#4A259D is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.179 H 289.6°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #4A259D |
|---|---|
| RGB | rgb(74, 37, 157) |
| HSL | hsl(259, 62%, 38%) |
| HSV | hsv(259, 76%, 62%) |
| CMYK | cmyk(52.9%, 76.4%, 0%, 38.4%) |
| CIE-LAB | lab(27.33, 45.83, -58.80) |
| CIE-LCH | lch(27.33, 74.55, 307.93°) |
| OKLab | oklab(39.41% 0.06 -0.169) |
| OKLCH | oklch(39.41% 0.179 289.6) |
| XYZ | xyz(9.5696, 5.2129, 32.3937) |
| Luminance | 0.0521 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.97
Rebeccapurple
#663399
ΔE00 6.09
Violet Blue
#510AC9
ΔE00 6.23
Indigo
#4B0082
ΔE00 6.66
Ultramarine
#2000B1
ΔE00 6.71
Royal
#0C1793
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A259D #789D25
analogous
#253C9D #4A259D #86259D
triadic
#4A259D #9D4A25 #259D4A
tetradic
#4A259D #9D253C #789D25 #259D86
square
#4A259D #9D253C #789D25 #259D86
split-complementary
#4A259D #9D8625 #3C9D25
monochromatic
#1B0E3A #33196B #4A259D #6131CE #8762DA
Accessibility & contrast
On white
10.28
#4A259D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#4A259D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A259D
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A259D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A259D | 1.00 | 10.28 | 2.04 | 10.28 |
| #FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#2B465F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4a259d; /* rgb */ color: rgb(74, 37, 157); /* oklch */ color: oklch(39.4% 0.179 289.6);
Tailwind
colors: {
custom: {
50: '#8664bb',
500: '#4a259d',
950: '#000000',
},
}SCSS
$custom: #4a259d; $custom-light: #8664bb; $custom-dark: #000000;
JSON
{
"hex": "#4a259d",
"rgb": {
"r": 74,
"g": 37,
"b": 157
},
"hsl": {
"h": 258.5,
"s": 61.856,
"l": 38.039
},
"oklch": {
"l": 0.39411,
"c": 0.17936,
"h": 289.6
},
"luminance": 0.05213
}Semantic roles & 50–950 ramp
primary
#4A259D
secondary
#A2BF5E
accent
#E543B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81