#4E154D#4E154D

#4E154D is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.4% C 0.113 H 328.6°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#4E154D
RGBrgb(78, 21, 77)
HSLhsl(301, 58%, 19%)
HSVhsv(301, 73%, 31%)
CMYKcmyk(0%, 73.1%, 1.3%, 69.4%)
CIE-LABlab(18.77, 34.31, -21.27)
CIE-LCHlch(18.77, 40.37, 328.21°)
OKLaboklab(31.44% 0.0961 -0.0587)
OKLCHoklch(31.44% 0.113 328.6)
XYZxyz(4.7496, 2.6922, 7.2892)
Luminance0.0269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E154D #154E16
analogous
#33154E #4E154D #4E1531
triadic
#4E154D #4D4E15 #154D4E
tetradic
#4E154D #4E3315 #154E16 #15314E
square
#4E154D #4E3315 #154E16 #15314E
split-complementary
#4E154D #314E15 #154E33
monochromatic
#180618 #1E081D #4E154D #7E227D #AE2FAC

Accessibility & contrast

On white

13.65
#4E154D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4E154D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E154D
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E154D#FFFFFF#000000##FFFFFF
##4E154D1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E294F
Deuteranopia (green-blind)
#24304C
Tritanopia (blue-blind)
#511D2F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e154d;
/* rgb */ color: rgb(78, 21, 77);
/* oklch */ color: oklch(31.4% 0.113 328.6);
Tailwind
colors: {
  custom: {
    50: '#82587f',
    500: '#4e154d',
    950: '#000000',
  },
}
SCSS
$custom: #4e154d;
$custom-light: #82587f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e154d",
  "rgb": {
    "r": 78,
    "g": 21,
    "b": 77
  },
  "hsl": {
    "h": 301.053,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.3144,
    "c": 0.11266,
    "h": 328.6
  },
  "luminance": 0.02692
}

Semantic roles & 50–950 ramp

primary
#4E154D
secondary
#39863A
accent
#E14A47
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4E154D

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

Preview Lab → · Contrast checker → · Palette generator →

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