#4F0D54#4F0D54

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

Color values

HEX#4F0D54
RGBrgb(79, 13, 84)
HSLhsl(296, 73%, 19%)
HSVhsv(296, 85%, 33%)
CMYKcmyk(6%, 84.5%, 0%, 67.1%)
CIE-LABlab(18.32, 39.01, -26.71)
CIE-LCHlch(18.32, 47.28, 325.60°)
OKLaboklab(31.31% 0.106 -0.0745)
OKLCHoklch(31.31% 0.13 324.9)
XYZxyz(4.9685, 2.5905, 8.6241)
Luminance0.0259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0D54 #12540D
analogous
#2C0D54 #4F0D54 #540D36
triadic
#4F0D54 #544F0D #0D544F
tetradic
#4F0D54 #542C0D #12540D #0D3654
square
#4F0D54 #542C0D #12540D #0D3654
split-complementary
#4F0D54 #36540D #0D542C
monochromatic
#19041A #1D051F #4F0D54 #811589 #B31DBE

Accessibility & contrast

On white

13.83
#4F0D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0D54
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0D54#FFFFFF#000000##FFFFFF
##4F0D541.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f0d54;
/* rgb */ color: rgb(79, 13, 84);
/* oklch */ color: oklch(31.3% 0.130 324.9);
Tailwind
colors: {
  custom: {
    50: '#835584',
    500: '#4f0d54',
    950: '#000000',
  },
}
SCSS
$custom: #4f0d54;
$custom-light: #835584;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0d54",
  "rgb": {
    "r": 79,
    "g": 13,
    "b": 84
  },
  "hsl": {
    "h": 295.775,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31306,
    "c": 0.12952,
    "h": 324.9
  },
  "luminance": 0.0259
}

Semantic roles & 50–950 ramp

primary
#4F0D54
secondary
#358F2E
accent
#F03845
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4F0D54

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

Preview Lab → · Contrast checker → · Palette generator →

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