#4F0E71#4F0E71

#4F0E71 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.155 H 309.8°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#4F0E71
RGBrgb(79, 14, 113)
HSLhsl(279, 78%, 25%)
HSVhsv(279, 88%, 44%)
CMYKcmyk(30.1%, 87.6%, 0%, 55.7%)
CIE-LABlab(20.71, 44.79, -42.02)
CIE-LCHlch(20.71, 61.41, 316.82°)
OKLaboklab(33.7% 0.0993 -0.1194)
OKLCHoklch(33.7% 0.155 309.8)
XYZxyz(6.3615, 3.1687, 15.8961)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0E71 #30710E
analogous
#1E0E71 #4F0E71 #710E62
triadic
#4F0E71 #714F0E #0E714F
tetradic
#4F0E71 #711E0E #30710E #0E6271
square
#4F0E71 #711E0E #30710E #0E6271
split-complementary
#4F0E71 #62710E #0E711E
monochromatic
#13031B #29073B #4F0E71 #7515A7 #9B1BDE

Accessibility & contrast

On white

12.85
#4F0E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4F0E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0E71
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0E71#FFFFFF#000000##FFFFFF
##4F0E711.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F74
Deuteranopia (green-blind)
#00336F
Tritanopia (blue-blind)
#4A2941
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f0e71;
/* rgb */ color: rgb(79, 14, 113);
/* oklch */ color: oklch(33.7% 0.155 309.8);
Tailwind
colors: {
  custom: {
    50: '#85579b',
    500: '#4f0e71',
    950: '#000000',
  },
}
SCSS
$custom: #4f0e71;
$custom-light: #85579b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0e71",
  "rgb": {
    "r": 79,
    "g": 14,
    "b": 113
  },
  "hsl": {
    "h": 279.394,
    "s": 77.953,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33696,
    "c": 0.15532,
    "h": 309.8
  },
  "luminance": 0.03169
}

Semantic roles & 50–950 ramp

primary
#4F0E71
secondary
#5BA932
accent
#F43376
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4F0E71

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4F0E71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva