#4F1D9F#4F1D9F
#4F1D9F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.3% C 0.189 H 292.8°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).
Color values
| HEX | #4F1D9F |
|---|---|
| RGB | rgb(79, 29, 159) |
| HSL | hsl(263, 69%, 37%) |
| HSV | hsv(263, 82%, 62%) |
| CMYK | cmyk(50.3%, 81.8%, 0%, 37.6%) |
| CIE-LAB | lab(26.86, 50.67, -60.78) |
| CIE-LCH | lch(26.86, 79.13, 309.82°) |
| OKLab | oklab(39.27% 0.0732 -0.1745) |
| OKLCH | oklch(39.27% 0.189 292.8) |
| XYZ | xyz(9.9201, 5.0438, 33.2450) |
| Luminance | 0.0504 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.79
Violet Blue
#510AC9
ΔE00 5.53
Indigo
#4B0082
ΔE00 5.71
Ultramarine
#2000B1
ΔE00 6.26
Rebeccapurple
#663399
ΔE00 6.30
Indigo (survey)
#380282
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F1D9F #6D9F1D
analogous
#1D2C9F #4F1D9F #901D9F
triadic
#4F1D9F #9F4F1D #1D9F4F
tetradic
#4F1D9F #9F1D2C #6D9F1D #1D9F90
square
#4F1D9F #9F1D2C #6D9F1D #1D9F90
split-complementary
#4F1D9F #9F901D #2C9F1D
monochromatic
#1C0A37 #35146B #4F1D9F #6926D3 #8B56E0
Accessibility & contrast
On white
10.45
#4F1D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#4F1D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F1D9F
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F1D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F1D9F | 1.00 | 10.45 | 2.01 | 10.45 |
| #FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A3
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#35435F
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #4f1d9f; /* rgb */ color: rgb(79, 29, 159); /* oklch */ color: oklch(39.3% 0.189 292.8);
Tailwind
colors: {
custom: {
50: '#8960bd',
500: '#4f1d9f',
950: '#000000',
},
}SCSS
$custom: #4f1d9f; $custom-light: #8960bd; $custom-dark: #000000;
JSON
{
"hex": "#4f1d9f",
"rgb": {
"r": 79,
"g": 29,
"b": 159
},
"hsl": {
"h": 263.077,
"s": 69.149,
"l": 36.863
},
"oklch": {
"l": 0.39273,
"c": 0.18929,
"h": 292.8
},
"luminance": 0.05044
}Semantic roles & 50–950 ramp
primary
#4F1D9F
secondary
#99C454
accent
#EC3CA8
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0D0512
muted
#7D7981