#4D144E#4D144E

#4D144E is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.2% C 0.114 H 327.2°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#4D144E
RGBrgb(77, 20, 78)
HSLhsl(299, 59%, 19%)
HSVhsv(299, 74%, 31%)
CMYKcmyk(1.3%, 74.4%, 0%, 69.4%)
CIE-LABlab(18.49, 34.67, -22.40)
CIE-LCHlch(18.49, 41.28, 327.14°)
OKLaboklab(31.23% 0.0962 -0.062)
OKLCHoklch(31.23% 0.114 327.2)
XYZxyz(4.6858, 2.6285, 7.4668)
Luminance0.0263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D144E #154E14
analogous
#30144E #4D144E #4E1432
triadic
#4D144E #4E4D14 #144E4D
tetradic
#4D144E #4E3014 #154E14 #14324E
square
#4D144E #4E3014 #154E14 #14324E
split-complementary
#4D144E #324E14 #144E30
monochromatic
#180618 #1D081D #4D144E #7D207F #AD2DAF

Accessibility & contrast

On white

13.77
#4D144E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D144E
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D144E#FFFFFF#000000##FFFFFF
##4D144E1.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2850
Deuteranopia (green-blind)
#22304C
Tritanopia (blue-blind)
#4F1C2F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4d144e;
/* rgb */ color: rgb(77, 20, 78);
/* oklch */ color: oklch(31.2% 0.114 327.2);
Tailwind
colors: {
  custom: {
    50: '#815780',
    500: '#4d144e',
    950: '#000000',
  },
}
SCSS
$custom: #4d144e;
$custom-light: #815780;
$custom-dark: #000000;
JSON
{
  "hex": "#4d144e",
  "rgb": {
    "r": 77,
    "g": 20,
    "b": 78
  },
  "hsl": {
    "h": 298.966,
    "s": 59.184,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31225,
    "c": 0.11444,
    "h": 327.2
  },
  "luminance": 0.02628
}

Semantic roles & 50–950 ramp

primary
#4D144E
secondary
#398638
accent
#E24548
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4D144E

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

Preview Lab → · Contrast checker → · Palette generator →

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