#4F0D4D#4F0D4D

#4F0D4D is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.8% C 0.123 H 329.4°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#4F0D4D
RGBrgb(79, 13, 77)
HSLhsl(302, 72%, 18%)
HSVhsv(302, 84%, 31%)
CMYKcmyk(0%, 83.5%, 2.5%, 69%)
CIE-LABlab(17.86, 37.69, -22.70)
CIE-LCHlch(17.86, 44.00, 328.95°)
OKLaboklab(30.82% 0.1063 -0.0628)
OKLCHoklch(30.82% 0.123 329.4)
XYZxyz(4.7079, 2.4863, 7.2517)
Luminance0.0249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0D4D #0D4F0F
analogous
#300D4F #4F0D4D #4F0D2C
triadic
#4F0D4D #4D4F0D #0D4D4F
tetradic
#4F0D4D #4F300D #0D4F0F #0D2C4F
square
#4F0D4D #4F300D #0D4F0F #0D2C4F
split-complementary
#4F0D4D #2C4F0D #0D4F30
monochromatic
#1A041A #1A041A #4F0D4D #841680 #B81EB3

Accessibility & contrast

On white

14.03
#4F0D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4F0D4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0D4D
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0D4D#FFFFFF#000000##FFFFFF
##4F0D4D1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03264F
Deuteranopia (green-blind)
#212F4B
Tritanopia (blue-blind)
#52172C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f0d4d;
/* rgb */ color: rgb(79, 13, 77);
/* oklch */ color: oklch(30.8% 0.123 329.4);
Tailwind
colors: {
  custom: {
    50: '#83557f',
    500: '#4f0d4d',
    950: '#000000',
  },
}
SCSS
$custom: #4f0d4d;
$custom-light: #83557f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0d4d",
  "rgb": {
    "r": 79,
    "g": 13,
    "b": 77
  },
  "hsl": {
    "h": 301.818,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30824,
    "c": 0.12343,
    "h": 329.4
  },
  "luminance": 0.02486
}

Semantic roles & 50–950 ramp

primary
#4F0D4D
secondary
#2E8A31
accent
#EE3F39
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4F0D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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