#4D0D48#4D0D48

#4D0D48 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 30.1% C 0.118 H 331.6°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#4D0D48
RGBrgb(77, 13, 72)
HSLhsl(305, 71%, 18%)
HSVhsv(305, 83%, 30%)
CMYKcmyk(0%, 83.1%, 6.5%, 69.8%)
CIE-LABlab(17.15, 36.29, -20.40)
CIE-LCHlch(17.15, 41.63, 330.66°)
OKLaboklab(30.14% 0.1038 -0.0562)
OKLCHoklch(30.14% 0.118 331.6)
XYZxyz(4.3742, 2.3339, 6.3497)
Luminance0.0233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0D48 #0D4D12
analogous
#320D4D #4D0D48 #4D0D28
triadic
#4D0D48 #484D0D #0D484D
tetradic
#4D0D48 #4D320D #0D4D12 #0D284D
square
#4D0D48 #4D320D #0D4D12 #0D284D
split-complementary
#4D0D48 #284D0D #0D4D32
monochromatic
#1A0418 #1A0418 #4D0D48 #811679 #B61FAA

Accessibility & contrast

On white

14.32
#4D0D48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4D0D48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0D48
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0D48#FFFFFF#000000##FFFFFF
##4D0D481.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07254A
Deuteranopia (green-blind)
#222D46
Tritanopia (blue-blind)
#51152A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d0d48;
/* rgb */ color: rgb(77, 13, 72);
/* oklch */ color: oklch(30.1% 0.118 331.6);
Tailwind
colors: {
  custom: {
    50: '#81547b',
    500: '#4d0d48',
    950: '#000000',
  },
}
SCSS
$custom: #4d0d48;
$custom-light: #81547b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0d48",
  "rgb": {
    "r": 77,
    "g": 13,
    "b": 72
  },
  "hsl": {
    "h": 304.688,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30142,
    "c": 0.11807,
    "h": 331.6
  },
  "luminance": 0.02334
}

Semantic roles & 50–950 ramp

primary
#4D0D48
secondary
#2E8835
accent
#EE483A
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4D0D48

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

Preview Lab → · Contrast checker → · Palette generator →

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