#4D0B48#4D0B48

#4D0B48 is a dark, vivid purple. Relative luminance 0.023; OKLCH L 30.0% C 0.120 H 331.6°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#4D0B48
RGBrgb(77, 11, 72)
HSLhsl(305, 75%, 17%)
HSVhsv(305, 86%, 30%)
CMYKcmyk(0%, 85.7%, 6.5%, 69.8%)
CIE-LABlab(16.92, 36.96, -20.77)
CIE-LCHlch(16.92, 42.39, 330.66°)
OKLaboklab(29.98% 0.1058 -0.0572)
OKLCHoklch(29.98% 0.12 331.6)
XYZxyz(4.3499, 2.2854, 6.3417)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0B48 #0B4D10
analogous
#310B4D #4D0B48 #4D0B27
triadic
#4D0B48 #484D0B #0B484D
tetradic
#4D0B48 #4D310B #0B4D10 #0B274D
square
#4D0B48 #4D310B #0B4D10 #0B274D
split-complementary
#4D0B48 #274D0B #0B4D31
monochromatic
#1B0419 #1B0419 #4D0B48 #83137A #B81AAC

Accessibility & contrast

On white

14.41
#4D0B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4D0B48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0B48
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0B48#FFFFFF#000000##FFFFFF
##4D0B481.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05244A
Deuteranopia (green-blind)
#212D46
Tritanopia (blue-blind)
#511429
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d0b48;
/* rgb */ color: rgb(77, 11, 72);
/* oklch */ color: oklch(30.0% 0.120 331.6);
Tailwind
colors: {
  custom: {
    50: '#82537b',
    500: '#4d0b48',
    950: '#000000',
  },
}
SCSS
$custom: #4d0b48;
$custom-light: #82537b;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0b48",
  "rgb": {
    "r": 77,
    "g": 11,
    "b": 72
  },
  "hsl": {
    "h": 304.545,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.29977,
    "c": 0.12027,
    "h": 331.6
  },
  "luminance": 0.02285
}

Semantic roles & 50–950 ramp

primary
#4D0B48
secondary
#2B8932
accent
#F24436
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4D0B48

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

Preview Lab → · Contrast checker → · Palette generator →

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