#4D0C49#4D0C49

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

Color values

HEX#4D0C49
RGBrgb(77, 12, 73)
HSLhsl(304, 73%, 17%)
HSVhsv(304, 84%, 30%)
CMYKcmyk(0%, 84.4%, 5.2%, 69.8%)
CIE-LABlab(17.09, 36.81, -21.18)
CIE-LCHlch(17.09, 42.47, 330.08°)
OKLaboklab(30.12% 0.1048 -0.0584)
OKLCHoklch(30.12% 0.12 330.9)
XYZxyz(4.3946, 2.3221, 6.5188)
Luminance0.0232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0C49 #0C4D10
analogous
#300C4D #4D0C49 #4D0C29
triadic
#4D0C49 #494D0C #0C494D
tetradic
#4D0C49 #4D300C #0C4D10 #0C294D
square
#4D0C49 #4D300C #0C4D10 #0C294D
split-complementary
#4D0C49 #294D0C #0C4D30
monochromatic
#1A0419 #1A0419 #4D0C49 #82147B #B71DAD

Accessibility & contrast

On white

14.34
#4D0C49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0C49
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0C49#FFFFFF#000000##FFFFFF
##4D0C491.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05244B
Deuteranopia (green-blind)
#212D47
Tritanopia (blue-blind)
#50152A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d0c49;
/* rgb */ color: rgb(77, 12, 73);
/* oklch */ color: oklch(30.1% 0.120 330.9);
Tailwind
colors: {
  custom: {
    50: '#82547c',
    500: '#4d0c49',
    950: '#000000',
  },
}
SCSS
$custom: #4d0c49;
$custom-light: #82547c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0c49",
  "rgb": {
    "r": 77,
    "g": 12,
    "b": 73
  },
  "hsl": {
    "h": 303.692,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.30123,
    "c": 0.12003,
    "h": 330.9
  },
  "luminance": 0.02322
}

Semantic roles & 50–950 ramp

primary
#4D0C49
secondary
#2C8932
accent
#F04338
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4D0C49

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

Preview Lab → · Contrast checker → · Palette generator →

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