#4A249F#4A249F
#4A249F is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.183 H 289.3°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #4A249F |
|---|---|
| RGB | rgb(74, 36, 159) |
| HSL | hsl(259, 63%, 38%) |
| HSV | hsv(259, 77%, 62%) |
| CMYK | cmyk(53.5%, 77.4%, 0%, 37.6%) |
| CIE-LAB | lab(27.35, 46.88, -59.99) |
| CIE-LCH | lch(27.35, 76.13, 308.01°) |
| OKLab | oklab(39.48% 0.0603 -0.1725) |
| OKLCH | oklch(39.48% 0.183 289.3) |
| XYZ | xyz(9.7111, 5.2203, 33.2901) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.66
Violet Blue
#510AC9
ΔE00 5.89
Rebeccapurple
#663399
ΔE00 6.25
Ultramarine
#2000B1
ΔE00 6.45
Indigo
#4B0082
ΔE00 6.69
Royal
#0C1793
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A249F #799F24
analogous
#243B9F #4A249F #87249F
triadic
#4A249F #9F4A24 #249F4A
tetradic
#4A249F #9F243B #799F24 #249F87
square
#4A249F #9F243B #799F24 #249F87
split-complementary
#4A249F #9F8724 #3B9F24
monochromatic
#1C0D3B #33196D #4A249F #6230D0 #8762DB
Accessibility & contrast
On white
10.27
#4A249F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#4A249F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A249F
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A249F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A249F | 1.00 | 10.27 | 2.04 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#294760
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4a249f; /* rgb */ color: rgb(74, 36, 159); /* oklch */ color: oklch(39.5% 0.183 289.3);
Tailwind
colors: {
custom: {
50: '#8663bc',
500: '#4a249f',
950: '#000000',
},
}SCSS
$custom: #4a249f; $custom-light: #8663bc; $custom-dark: #000000;
JSON
{
"hex": "#4a249f",
"rgb": {
"r": 74,
"g": 36,
"b": 159
},
"hsl": {
"h": 258.537,
"s": 63.077,
"l": 38.235
},
"oklch": {
"l": 0.39484,
"c": 0.1827,
"h": 289.3
},
"luminance": 0.05221
}Semantic roles & 50–950 ramp
primary
#4A249F
secondary
#A2C15E
accent
#E642B3
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81