#4A0F6A#4A0F6A
#4A0F6A is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.4% C 0.146 H 309.6°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).
Color values
| HEX | #4A0F6A |
|---|---|
| RGB | rgb(74, 15, 106) |
| HSL | hsl(279, 75%, 24%) |
| HSV | hsv(279, 86%, 42%) |
| CMYK | cmyk(30.2%, 85.8%, 0%, 58.4%) |
| CIE-LAB | lab(19.38, 42.00, -39.66) |
| CIE-LCH | lch(19.38, 57.77, 316.64°) |
| OKLab | oklab(32.42% 0.0932 -0.1127) |
| OKLCH | oklch(32.42% 0.146 309.6) |
| XYZ | xyz(5.5959, 2.8382, 13.8859) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 1.91
Indigo
#4B0082
ΔE00 4.61
Plum Purple
#4E0550
ΔE00 6.27
Indigo (survey)
#380282
ΔE00 6.32
Deep Violet
#490648
ΔE00 7.64
Dark Indigo
#1F0954
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A0F6A #2F6A0F
analogous
#1C0F6A #4A0F6A #6A0F5C
triadic
#4A0F6A #6A4A0F #0F6A4A
tetradic
#4A0F6A #6A1C0F #2F6A0F #0F5C6A
square
#4A0F6A #6A1C0F #2F6A0F #0F5C6A
split-complementary
#4A0F6A #5C6A0F #0F6A1C
monochromatic
#13041B #250734 #4A0F6A #6F17A0 #951ED5
Accessibility & contrast
On white
13.40
#4A0F6A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#4A0F6A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A0F6A
13.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A0F6A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A0F6A | 1.00 | 13.40 | 1.57 | 13.40 |
| #FFFFFF | 13.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D6C
Deuteranopia (green-blind)
#003068
Tritanopia (blue-blind)
#45273E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #4a0f6a; /* rgb */ color: rgb(74, 15, 106); /* oklch */ color: oklch(32.4% 0.146 309.6);
Tailwind
colors: {
custom: {
50: '#815695',
500: '#4a0f6a',
950: '#000000',
},
}SCSS
$custom: #4a0f6a; $custom-light: #815695; $custom-dark: #000000;
JSON
{
"hex": "#4a0f6a",
"rgb": {
"r": 74,
"g": 15,
"b": 106
},
"hsl": {
"h": 278.901,
"s": 75.207,
"l": 23.725
},
"oklch": {
"l": 0.32418,
"c": 0.14621,
"h": 309.6
},
"luminance": 0.02838
}Semantic roles & 50–950 ramp
primary
#4A0F6A
secondary
#5AA232
accent
#F23678
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030D
muted
#7C787E