#4D0F49#4D0F49

#4D0F49 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.4% C 0.117 H 330.8°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#4D0F49
RGBrgb(77, 15, 73)
HSLhsl(304, 67%, 18%)
HSVhsv(304, 81%, 30%)
CMYKcmyk(0%, 80.5%, 5.2%, 69.8%)
CIE-LABlab(17.46, 35.75, -20.60)
CIE-LCHlch(17.46, 41.26, 330.05°)
OKLaboklab(30.39% 0.1018 -0.0568)
OKLCHoklch(30.39% 0.117 330.8)
XYZxyz(4.4340, 2.4008, 6.5319)
Luminance0.0240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0F49 #0F4D13
analogous
#320F4D #4D0F49 #4D0F2A
triadic
#4D0F49 #494D0F #0F494D
tetradic
#4D0F49 #4D320F #0F4D13 #0F2A4D
square
#4D0F49 #4D320F #0F4D13 #0F2A4D
split-complementary
#4D0F49 #2A4D0F #0F4D32
monochromatic
#1A0518 #1A0518 #4D0F49 #80197A #B323AA

Accessibility & contrast

On white

14.19
#4D0F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0F49
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0F49#FFFFFF#000000##FFFFFF
##4D0F491.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09254B
Deuteranopia (green-blind)
#222E47
Tritanopia (blue-blind)
#50172B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4d0f49;
/* rgb */ color: rgb(77, 15, 73);
/* oklch */ color: oklch(30.4% 0.117 330.8);
Tailwind
colors: {
  custom: {
    50: '#81557c',
    500: '#4d0f49',
    950: '#000000',
  },
}
SCSS
$custom: #4d0f49;
$custom-light: #81557c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0f49",
  "rgb": {
    "r": 77,
    "g": 15,
    "b": 73
  },
  "hsl": {
    "h": 303.871,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30387,
    "c": 0.11654,
    "h": 330.8
  },
  "luminance": 0.024
}

Semantic roles & 50–950 ramp

primary
#4D0F49
secondary
#318736
accent
#EA493E
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4D0F49

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

Preview Lab → · Contrast checker → · Palette generator →

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