#4F0D48#4F0D48

#4F0D48 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.5% C 0.119 H 332.9°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#4F0D48
RGBrgb(79, 13, 72)
HSLhsl(306, 72%, 18%)
HSVhsv(306, 84%, 31%)
CMYKcmyk(0%, 83.5%, 8.9%, 69%)
CIE-LABlab(17.55, 36.80, -19.75)
CIE-LCHlch(17.55, 41.76, 331.77°)
OKLaboklab(30.5% 0.1062 -0.0543)
OKLCHoklch(30.5% 0.119 332.9)
XYZxyz(4.5381, 2.4184, 6.3574)
Luminance0.0242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F0D48 #0D4F14
analogous
#350D4F #4F0D48 #4F0D27
triadic
#4F0D48 #484F0D #0D484F
tetradic
#4F0D48 #4F350D #0D4F14 #0D274F
square
#4F0D48 #4F350D #0D4F14 #0D274F
split-complementary
#4F0D48 #274F0D #0D4F35
monochromatic
#1A0418 #1A0418 #4F0D48 #841678 #B81EA8

Accessibility & contrast

On white

14.15
#4F0D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4F0D48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F0D48
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F0D48#FFFFFF#000000##FFFFFF
##4F0D481.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09254A
Deuteranopia (green-blind)
#242E46
Tritanopia (blue-blind)
#53142A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4f0d48;
/* rgb */ color: rgb(79, 13, 72);
/* oklch */ color: oklch(30.5% 0.119 332.9);
Tailwind
colors: {
  custom: {
    50: '#83557b',
    500: '#4f0d48',
    950: '#000000',
  },
}
SCSS
$custom: #4f0d48;
$custom-light: #83557b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f0d48",
  "rgb": {
    "r": 79,
    "g": 13,
    "b": 72
  },
  "hsl": {
    "h": 306.364,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30501,
    "c": 0.11925,
    "h": 332.9
  },
  "luminance": 0.02418
}

Semantic roles & 50–950 ramp

primary
#4F0D48
secondary
#2E8A38
accent
#EE4D39
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4F0D48

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

Preview Lab → · Contrast checker → · Palette generator →

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