#4A269C#4A269C
#4A269C is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.177 H 289.6°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).
Color values
| HEX | #4A269C |
|---|---|
| RGB | rgb(74, 38, 156) |
| HSL | hsl(258, 61%, 38%) |
| HSV | hsv(258, 76%, 61%) |
| CMYK | cmyk(52.6%, 75.6%, 0%, 38.8%) |
| CIE-LAB | lab(27.41, 45.05, -58.06) |
| CIE-LCH | lch(27.41, 73.49, 307.81°) |
| OKLab | oklab(39.44% 0.0595 -0.1668) |
| OKLCH | oklch(39.44% 0.177 289.6) |
| XYZ | xyz(9.5162, 5.2419, 31.9564) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.18
Rebeccapurple
#663399
ΔE00 5.97
Violet Blue
#510AC9
ΔE00 6.44
Indigo
#4B0082
ΔE00 6.73
Ultramarine
#2000B1
ΔE00 6.91
Royal
#0C1793
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A269C #789C26
analogous
#263D9C #4A269C #85269C
triadic
#4A269C #9C4A26 #269C4A
tetradic
#4A269C #9C263D #789C26 #269C85
square
#4A269C #9C263D #789C26 #269C85
split-complementary
#4A269C #9C8526 #3D9C26
monochromatic
#1B0E3A #331A6B #4A269C #6132CD #8763D9
Accessibility & contrast
On white
10.25
#4A269C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#4A269C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A269C
10.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A269C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A269C | 1.00 | 10.25 | 2.05 | 10.25 |
| #FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#2C465F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4a269c; /* rgb */ color: rgb(74, 38, 156); /* oklch */ color: oklch(39.4% 0.177 289.6);
Tailwind
colors: {
custom: {
50: '#8564ba',
500: '#4a269c',
950: '#000000',
},
}SCSS
$custom: #4a269c; $custom-light: #8564ba; $custom-dark: #000000;
JSON
{
"hex": "#4a269c",
"rgb": {
"r": 74,
"g": 38,
"b": 156
},
"hsl": {
"h": 258.305,
"s": 60.825,
"l": 38.039
},
"oklch": {
"l": 0.39439,
"c": 0.17713,
"h": 289.6
},
"luminance": 0.05242
}Semantic roles & 50–950 ramp
primary
#4A269C
secondary
#A2BF5F
accent
#E444B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81