#4A269F#4A269F
#4A269F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.181 H 289.0°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #4A269F |
|---|---|
| RGB | rgb(74, 38, 159) |
| HSL | hsl(258, 61%, 39%) |
| HSV | hsv(258, 76%, 62%) |
| CMYK | cmyk(53.5%, 76.1%, 0%, 37.6%) |
| CIE-LAB | lab(27.70, 45.90, -59.43) |
| CIE-LCH | lch(27.70, 75.09, 307.68°) |
| OKLab | oklab(39.72% 0.0587 -0.1708) |
| OKLCH | oklch(39.72% 0.181 289) |
| XYZ | xyz(9.7733, 5.3448, 33.3108) |
| Luminance | 0.0534 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.87
Violet Blue
#510AC9
ΔE00 6.04
Rebeccapurple
#663399
ΔE00 6.08
Ultramarine
#2000B1
ΔE00 6.73
Indigo
#4B0082
ΔE00 7.00
Purple Blue
#5D21D0
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A269F #7B9F26
analogous
#263E9F #4A269F #86269F
triadic
#4A269F #9F4A26 #269F4A
tetradic
#4A269F #9F263E #7B9F26 #269F86
square
#4A269F #9F263E #7B9F26 #269F86
split-complementary
#4A269F #9F8626 #3E9F26
monochromatic
#1C0E3C #331A6E #4A269F #6234CE #8865DA
Accessibility & contrast
On white
10.15
#4A269F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#4A269F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A269F
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A269F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A269F | 1.00 | 10.15 | 2.07 | 10.15 |
| #FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#294761
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4a269f; /* rgb */ color: rgb(74, 38, 159); /* oklch */ color: oklch(39.7% 0.181 289.0);
Tailwind
colors: {
custom: {
50: '#8664bc',
500: '#4a269f',
950: '#000000',
},
}SCSS
$custom: #4a269f; $custom-light: #8664bc; $custom-dark: #000000;
JSON
{
"hex": "#4a269f",
"rgb": {
"r": 74,
"g": 38,
"b": 159
},
"hsl": {
"h": 257.851,
"s": 61.421,
"l": 38.627
},
"oklch": {
"l": 0.39723,
"c": 0.18064,
"h": 289
},
"luminance": 0.05345
}Semantic roles & 50–950 ramp
primary
#4A269F
secondary
#A4C061
accent
#E543B5
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81