#4F0D4E#4F0D4E

#4F0D4E is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.9% C 0.124 H 328.8°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#4F0D4E
RGBrgb(79, 13, 78)
HSLhsl(301, 72%, 18%)
HSVhsv(301, 84%, 31%)
CMYKcmyk(0%, 83.5%, 1.3%, 69%)
CIE-LABlab(17.92, 37.88, -23.28)
CIE-LCHlch(17.92, 44.46, 328.43°)
OKLaboklab(30.89% 0.1063 -0.0645)
OKLCHoklch(30.89% 0.124 328.8)
XYZxyz(4.7435, 2.5005, 7.4391)
Luminance0.0250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0D4E #0D4F0E
analogous
#2F0D4F #4F0D4E #4F0D2D
triadic
#4F0D4E #4E4F0D #0D4E4F
tetradic
#4F0D4E #4F2F0D #0D4F0E #0D2D4F
square
#4F0D4E #4F2F0D #0D4F0E #0D2D4F
split-complementary
#4F0D4E #2D4F0D #0D4F2F
monochromatic
#1A041A #1A041A #4F0D4E #841682 #B81EB6

Accessibility & contrast

On white

14.00
#4F0D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0D4E
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0D4E#FFFFFF#000000##FFFFFF
##4F0D4E1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022650
Deuteranopia (green-blind)
#202F4C
Tritanopia (blue-blind)
#52182D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f0d4e;
/* rgb */ color: rgb(79, 13, 78);
/* oklch */ color: oklch(30.9% 0.124 328.8);
Tailwind
colors: {
  custom: {
    50: '#835580',
    500: '#4f0d4e',
    950: '#000000',
  },
}
SCSS
$custom: #4f0d4e;
$custom-light: #835580;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0d4e",
  "rgb": {
    "r": 79,
    "g": 13,
    "b": 78
  },
  "hsl": {
    "h": 300.909,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.3089,
    "c": 0.12429,
    "h": 328.8
  },
  "luminance": 0.025
}

Semantic roles & 50–950 ramp

primary
#4F0D4E
secondary
#2E8A2F
accent
#EE3C39
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4F0D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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