#4F0D4F#4F0D4F

#4F0D4F is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.0% C 0.125 H 328.1°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#4F0D4F
RGBrgb(79, 13, 79)
HSLhsl(300, 72%, 18%)
HSVhsv(300, 84%, 31%)
CMYKcmyk(0%, 83.5%, 0%, 69%)
CIE-LABlab(17.99, 38.06, -23.86)
CIE-LCHlch(17.99, 44.92, 327.92°)
OKLaboklab(30.96% 0.1062 -0.0662)
OKLCHoklch(30.96% 0.125 328.1)
XYZxyz(4.7796, 2.5150, 7.6293)
Luminance0.0251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0D4F #0D4F0D
analogous
#2E0D4F #4F0D4F #4F0D2E
triadic
#4F0D4F #4F4F0D #0D4F4F
tetradic
#4F0D4F #4F2E0D #0D4F0D #0D2E4F
square
#4F0D4F #4F2E0D #0D4F0D #0D2E4F
split-complementary
#4F0D4F #2E4F0D #0D4F2E
monochromatic
#1A041A #1A041A #4F0D4F #841684 #B81EB8

Accessibility & contrast

On white

13.97
#4F0D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F0D4F
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0D4F#FFFFFF#000000##FFFFFF
##4F0D4F1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002751
Deuteranopia (green-blind)
#202F4D
Tritanopia (blue-blind)
#52182E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4f0d4f;
/* rgb */ color: rgb(79, 13, 79);
/* oklch */ color: oklch(31.0% 0.125 328.1);
Tailwind
colors: {
  custom: {
    50: '#835580',
    500: '#4f0d4f',
    950: '#000000',
  },
}
SCSS
$custom: #4f0d4f;
$custom-light: #835580;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0d4f",
  "rgb": {
    "r": 79,
    "g": 13,
    "b": 79
  },
  "hsl": {
    "h": 300,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30958,
    "c": 0.12516,
    "h": 328.1
  },
  "luminance": 0.02515
}

Semantic roles & 50–950 ramp

primary
#4F0D4F
secondary
#2E8A2E
accent
#EE3939
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4F0D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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