#4F1D9A#4F1D9A
#4F1D9A is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.8% C 0.184 H 294.0°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).
Color values
| HEX | #4F1D9A |
|---|---|
| RGB | rgb(79, 29, 154) |
| HSL | hsl(264, 68%, 36%) |
| HSV | hsv(264, 81%, 60%) |
| CMYK | cmyk(48.7%, 81.2%, 0%, 39.6%) |
| CIE-LAB | lab(26.37, 49.36, -58.53) |
| CIE-LCH | lch(26.37, 76.56, 310.14°) |
| OKLab | oklab(38.79% 0.0749 -0.168) |
| OKLCH | oklch(38.79% 0.184 294) |
| XYZ | xyz(9.4949, 4.8738, 31.0060) |
| Luminance | 0.0487 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.36
Indigo
#4B0082
ΔE00 5.14
Indigo (survey)
#380282
ΔE00 6.01
Rebeccapurple
#663399
ΔE00 6.18
Violet Blue
#510AC9
ΔE00 6.25
Ultramarine
#2000B1
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F1D9A #689A1D
analogous
#1D299A #4F1D9A #8D1D9A
triadic
#4F1D9A #9A4F1D #1D9A4F
tetradic
#4F1D9A #9A1D29 #689A1D #1D9A8D
square
#4F1D9A #9A1D29 #689A1D #1D9A8D
split-complementary
#4F1D9A #9A8D1D #299A1D
monochromatic
#1A0A33 #351366 #4F1D9A #6927CE #8B53DF
Accessibility & contrast
On white
10.63
#4F1D9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#4F1D9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F1D9A
10.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F1D9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F1D9A | 1.00 | 10.63 | 1.97 | 10.63 |
| #FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409D
Deuteranopia (green-blind)
#003C98
Tritanopia (blue-blind)
#38415C
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #4f1d9a; /* rgb */ color: rgb(79, 29, 154); /* oklch */ color: oklch(38.8% 0.184 294.0);
Tailwind
colors: {
custom: {
50: '#8960b9',
500: '#4f1d9a',
950: '#000000',
},
}SCSS
$custom: #4f1d9a; $custom-light: #8960b9; $custom-dark: #000000;
JSON
{
"hex": "#4f1d9a",
"rgb": {
"r": 79,
"g": 29,
"b": 154
},
"hsl": {
"h": 264,
"s": 68.306,
"l": 35.882
},
"oklch": {
"l": 0.38788,
"c": 0.1839,
"h": 294
},
"luminance": 0.04874
}Semantic roles & 50–950 ramp
primary
#4F1D9A
secondary
#95C251
accent
#EB3DA5
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981