#4D154A#4D154A

#4D154A is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.1% C 0.109 H 330.1°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#4D154A
RGBrgb(77, 21, 74)
HSLhsl(303, 57%, 19%)
HSVhsv(303, 73%, 30%)
CMYKcmyk(0%, 72.7%, 3.9%, 69.8%)
CIE-LABlab(18.40, 33.45, -19.80)
CIE-LCHlch(18.40, 38.87, 329.38°)
OKLaboklab(31.08% 0.0947 -0.0545)
OKLCHoklch(31.08% 0.109 330.1)
XYZxyz(4.5647, 2.6089, 6.7404)
Luminance0.0261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D154A #154D18
analogous
#34154D #4D154A #4D152E
triadic
#4D154A #4A4D15 #154A4D
tetradic
#4D154A #4D3415 #154D18 #152E4D
square
#4D154A #4D3415 #154D18 #152E4D
split-complementary
#4D154A #2E4D15 #154D34
monochromatic
#180717 #1D081C #4D154A #7D2278 #AD2FA6

Accessibility & contrast

On white

13.80
#4D154A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#4D154A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D154A
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D154A#FFFFFF#000000##FFFFFF
##4D154A1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10284C
Deuteranopia (green-blind)
#253049
Tritanopia (blue-blind)
#501B2D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4d154a;
/* rgb */ color: rgb(77, 21, 74);
/* oklch */ color: oklch(31.1% 0.109 330.1);
Tailwind
colors: {
  custom: {
    50: '#81587d',
    500: '#4d154a',
    950: '#000000',
  },
}
SCSS
$custom: #4d154a;
$custom-light: #81587d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d154a",
  "rgb": {
    "r": 77,
    "g": 21,
    "b": 74
  },
  "hsl": {
    "h": 303.214,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31084,
    "c": 0.10927,
    "h": 330.1
  },
  "luminance": 0.02609
}

Semantic roles & 50–950 ramp

primary
#4D154A
secondary
#39853D
accent
#E05047
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4D154A

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

Preview Lab → · Contrast checker → · Palette generator →

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