#4F2DAF#4F2DAF
#4F2DAF is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.6% C 0.192 H 287.2°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2DAF |
|---|---|
| RGB | rgb(79, 45, 175) |
| HSL | hsl(256, 59%, 43%) |
| HSV | hsv(256, 74%, 69%) |
| CMYK | cmyk(54.9%, 74.3%, 0%, 31.4%) |
| CIE-LAB | lab(30.96, 47.72, -63.70) |
| CIE-LCH | lch(30.96, 79.59, 306.84°) |
| OKLab | oklab(42.6% 0.0566 -0.1832) |
| OKLCH | oklch(42.6% 0.192 287.2) |
| XYZ | xyz(11.8984, 6.6336, 41.2026) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.55
Blue With A Hint Of Purple
#533CC6
ΔE00 4.84
Purple Blue
#5D21D0
ΔE00 4.86
Blurple
#5539CC
ΔE00 5.02
Violet Blue
#510AC9
ΔE00 5.07
Ocean Blue
#4F42B5
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2DAF #8DAF2D
analogous
#2D4CAF #4F2DAF #902DAF
triadic
#4F2DAF #AF4F2D #2DAF4F
tetradic
#4F2DAF #AF2D4C #8DAF2D #2DAF90
square
#4F2DAF #AF2D4C #8DAF2D #2DAF90
split-complementary
#4F2DAF #AF902D #4CAF2D
monochromatic
#23144E #39207E #4F2DAF #6C49D0 #947ADD
Accessibility & contrast
On white
9.03
#4F2DAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#4F2DAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2DAF
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2DAF | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#26516C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #4f2daf; /* rgb */ color: rgb(79, 45, 175); /* oklch */ color: oklch(42.6% 0.192 287.2);
Tailwind
colors: {
custom: {
50: '#8b6ac8',
500: '#4f2daf',
950: '#000000',
},
}SCSS
$custom: #4f2daf; $custom-light: #8b6ac8; $custom-dark: #000000;
JSON
{
"hex": "#4f2daf",
"rgb": {
"r": 79,
"g": 45,
"b": 175
},
"hsl": {
"h": 255.692,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.426,
"c": 0.19178,
"h": 287.2
},
"luminance": 0.06634
}Semantic roles & 50–950 ramp
primary
#4F2DAF
secondary
#AFC573
accent
#E246B9
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82