#4D0F48#4D0F48

#4D0F48 is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.3% C 0.116 H 331.6°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#4D0F48
RGBrgb(77, 15, 72)
HSLhsl(305, 67%, 18%)
HSVhsv(305, 81%, 30%)
CMYKcmyk(0%, 80.5%, 6.5%, 69.8%)
CIE-LABlab(17.40, 35.57, -20.00)
CIE-LCHlch(17.40, 40.81, 330.65°)
OKLaboklab(30.32% 0.1017 -0.0551)
OKLCHoklch(30.32% 0.116 331.6)
XYZxyz(4.4011, 2.3877, 6.3587)
Luminance0.0239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0F48 #0F4D14
analogous
#330F4D #4D0F48 #4D0F29
triadic
#4D0F48 #484D0F #0F484D
tetradic
#4D0F48 #4D330F #0F4D14 #0F294D
square
#4D0F48 #4D330F #0F4D14 #0F294D
split-complementary
#4D0F48 #294D0F #0F4D33
monochromatic
#1A0518 #1A0518 #4D0F48 #801978 #B323A8

Accessibility & contrast

On white

14.21
#4D0F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0F48
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0F48#FFFFFF#000000##FFFFFF
##4D0F481.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A254A
Deuteranopia (green-blind)
#232E46
Tritanopia (blue-blind)
#50162A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4d0f48;
/* rgb */ color: rgb(77, 15, 72);
/* oklch */ color: oklch(30.3% 0.116 331.6);
Tailwind
colors: {
  custom: {
    50: '#81557b',
    500: '#4d0f48',
    950: '#000000',
  },
}
SCSS
$custom: #4d0f48;
$custom-light: #81557b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0f48",
  "rgb": {
    "r": 77,
    "g": 15,
    "b": 72
  },
  "hsl": {
    "h": 304.839,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30324,
    "c": 0.11568,
    "h": 331.6
  },
  "luminance": 0.02387
}

Semantic roles & 50–950 ramp

primary
#4D0F48
secondary
#318738
accent
#EA4B3E
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4D0F48

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

Preview Lab → · Contrast checker → · Palette generator →

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