#4F1F9E#4F1F9E
#4F1F9E is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.186 H 292.8°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #4F1F9E |
|---|---|
| RGB | rgb(79, 31, 158) |
| HSL | hsl(263, 67%, 37%) |
| HSV | hsv(263, 80%, 62%) |
| CMYK | cmyk(50%, 80.4%, 0%, 38%) |
| CIE-LAB | lab(27.05, 49.58, -59.86) |
| CIE-LCH | lch(27.05, 77.73, 309.63°) |
| OKLab | oklab(39.37% 0.0721 -0.1719) |
| OKLCH | oklch(39.37% 0.186 292.8) |
| XYZ | xyz(9.8843, 5.1105, 32.8068) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.96
Violet Blue
#510AC9
ΔE00 5.73
Indigo
#4B0082
ΔE00 5.82
Rebeccapurple
#663399
ΔE00 6.06
Ultramarine
#2000B1
ΔE00 6.50
Indigo (survey)
#380282
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F1F9E #6E9E1F
analogous
#1F2F9E #4F1F9E #8F1F9E
triadic
#4F1F9E #9E4F1F #1F9E4F
tetradic
#4F1F9E #9E1F2F #6E9E1F #1F9E8F
square
#4F1F9E #9E1F2F #6E9E1F #1F9E8F
split-complementary
#4F1F9E #9E8F1F #2F9E1F
monochromatic
#1C0B38 #35156B #4F1F9E #6929D1 #8B59DE
Accessibility & contrast
On white
10.38
#4F1F9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#4F1F9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F1F9E
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F1F9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F1F9E | 1.00 | 10.38 | 2.02 | 10.38 |
| #FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#35445F
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #4f1f9e; /* rgb */ color: rgb(79, 31, 158); /* oklch */ color: oklch(39.4% 0.186 292.8);
Tailwind
colors: {
custom: {
50: '#8961bc',
500: '#4f1f9e',
950: '#000000',
},
}SCSS
$custom: #4f1f9e; $custom-light: #8961bc; $custom-dark: #000000;
JSON
{
"hex": "#4f1f9e",
"rgb": {
"r": 79,
"g": 31,
"b": 158
},
"hsl": {
"h": 262.677,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.39373,
"c": 0.18641,
"h": 292.8
},
"luminance": 0.05111
}Semantic roles & 50–950 ramp
primary
#4F1F9E
secondary
#9AC256
accent
#EA3EA9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0512
muted
#7D7A81