#4D144F#4D144F

#4D144F is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.3% C 0.115 H 326.5°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#4D144F
RGBrgb(77, 20, 79)
HSLhsl(298, 60%, 19%)
HSVhsv(298, 75%, 31%)
CMYKcmyk(2.5%, 74.7%, 0%, 69%)
CIE-LABlab(18.55, 34.87, -22.98)
CIE-LCHlch(18.55, 41.76, 326.62°)
OKLaboklab(31.29% 0.0962 -0.0637)
OKLCHoklch(31.29% 0.115 326.5)
XYZxyz(4.7219, 2.6429, 7.6570)
Luminance0.0264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D144F #164F14
analogous
#30144F #4D144F #4F1434
triadic
#4D144F #4F4D14 #144F4D
tetradic
#4D144F #4F3014 #164F14 #14344F
square
#4D144F #4F3014 #164F14 #14344F
split-complementary
#4D144F #344F14 #144F30
monochromatic
#180618 #1D081E #4D144F #7D2080 #AC2DB1

Accessibility & contrast

On white

13.74
#4D144F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4D144F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D144F
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D144F#FFFFFF#000000##FFFFFF
##4D144F1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092951
Deuteranopia (green-blind)
#21304D
Tritanopia (blue-blind)
#4F1D2F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4d144f;
/* rgb */ color: rgb(77, 20, 79);
/* oklch */ color: oklch(31.3% 0.115 326.5);
Tailwind
colors: {
  custom: {
    50: '#815780',
    500: '#4d144f',
    950: '#000000',
  },
}
SCSS
$custom: #4d144f;
$custom-light: #815780;
$custom-dark: #000000;
JSON
{
  "hex": "#4d144f",
  "rgb": {
    "r": 77,
    "g": 20,
    "b": 79
  },
  "hsl": {
    "h": 297.966,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31291,
    "c": 0.11537,
    "h": 326.5
  },
  "luminance": 0.02643
}

Semantic roles & 50–950 ramp

primary
#4D144F
secondary
#3A8738
accent
#E3454A
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4D144F

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

Preview Lab → · Contrast checker → · Palette generator →

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