#4A259F#4A259F
#4A259F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.182 H 289.1°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).
Color values
| HEX | #4A259F |
|---|---|
| RGB | rgb(74, 37, 159) |
| HSL | hsl(258, 62%, 38%) |
| HSV | hsv(258, 77%, 62%) |
| CMYK | cmyk(53.5%, 76.7%, 0%, 37.6%) |
| CIE-LAB | lab(27.52, 46.40, -59.71) |
| CIE-LCH | lch(27.52, 75.62, 307.85°) |
| OKLab | oklab(39.6% 0.0595 -0.1717) |
| OKLCH | oklch(39.6% 0.182 289.1) |
| XYZ | xyz(9.7418, 5.2817, 33.3003) |
| Luminance | 0.0528 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.76
Violet Blue
#510AC9
ΔE00 5.96
Rebeccapurple
#663399
ΔE00 6.16
Ultramarine
#2000B1
ΔE00 6.59
Indigo
#4B0082
ΔE00 6.84
Royal
#0C1793
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A259F #7A9F25
analogous
#253D9F #4A259F #87259F
triadic
#4A259F #9F4A25 #259F4A
tetradic
#4A259F #9F253D #7A9F25 #259F87
square
#4A259F #9F253D #7A9F25 #259F87
split-complementary
#4A259F #9F8725 #3D9F25
monochromatic
#1C0E3C #33196D #4A259F #6232CF #8864DB
Accessibility & contrast
On white
10.21
#4A259F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#4A259F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A259F
10.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A259F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A259F | 1.00 | 10.21 | 2.06 | 10.21 |
| #FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#294761
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4a259f; /* rgb */ color: rgb(74, 37, 159); /* oklch */ color: oklch(39.6% 0.182 289.1);
Tailwind
colors: {
custom: {
50: '#8664bc',
500: '#4a259f',
950: '#000000',
},
}SCSS
$custom: #4a259f; $custom-light: #8664bc; $custom-dark: #000000;
JSON
{
"hex": "#4a259f",
"rgb": {
"r": 74,
"g": 37,
"b": 159
},
"hsl": {
"h": 258.197,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.39602,
"c": 0.18169,
"h": 289.1
},
"luminance": 0.05282
}Semantic roles & 50–950 ramp
primary
#4A259F
secondary
#A3C05F
accent
#E542B4
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81