#4F0E54#4F0E54

#4F0E54 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.4% C 0.128 H 324.9°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#4F0E54
RGBrgb(79, 14, 84)
HSLhsl(296, 71%, 19%)
HSVhsv(296, 83%, 33%)
CMYKcmyk(6%, 83.3%, 0%, 67.1%)
CIE-LABlab(18.44, 38.67, -26.53)
CIE-LCHlch(18.44, 46.90, 325.55°)
OKLaboklab(31.39% 0.105 -0.0739)
OKLCHoklch(31.39% 0.128 324.9)
XYZxyz(4.9816, 2.6168, 8.6285)
Luminance0.0262 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0E54 #13540E
analogous
#2C0E54 #4F0E54 #540E36
triadic
#4F0E54 #544F0E #0E544F
tetradic
#4F0E54 #542C0E #13540E #0E3654
square
#4F0E54 #542C0E #13540E #0E3654
split-complementary
#4F0E54 #36540E #0E542C
monochromatic
#19041A #1E0520 #4F0E54 #801788 #B21FBD

Accessibility & contrast

On white

13.79
#4F0E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4F0E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0E54
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0E54#FFFFFF#000000##FFFFFF
##4F0E541.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002856
Deuteranopia (green-blind)
#1D3052
Tritanopia (blue-blind)
#511B31
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4f0e54;
/* rgb */ color: rgb(79, 14, 84);
/* oklch */ color: oklch(31.4% 0.128 324.9);
Tailwind
colors: {
  custom: {
    50: '#835684',
    500: '#4f0e54',
    950: '#000000',
  },
}
SCSS
$custom: #4f0e54;
$custom-light: #835684;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0e54",
  "rgb": {
    "r": 79,
    "g": 14,
    "b": 84
  },
  "hsl": {
    "h": 295.714,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31388,
    "c": 0.12846,
    "h": 324.9
  },
  "luminance": 0.02616
}

Semantic roles & 50–950 ramp

primary
#4F0E54
secondary
#368E2F
accent
#EE3A47
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4F0E54

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

Preview Lab → · Contrast checker → · Palette generator →

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