#4E154A#4E154A

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

Color values

HEX#4E154A
RGBrgb(78, 21, 74)
HSLhsl(304, 58%, 19%)
HSVhsv(304, 73%, 31%)
CMYKcmyk(0%, 73.1%, 5.1%, 69.4%)
CIE-LABlab(18.59, 33.74, -19.50)
CIE-LCHlch(18.59, 38.97, 329.97°)
OKLaboklab(31.25% 0.0959 -0.0536)
OKLCHoklch(31.25% 0.11 330.8)
XYZxyz(4.6461, 2.6508, 6.7442)
Luminance0.0265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E154A #154E19
analogous
#36154E #4E154A #4E152E
triadic
#4E154A #4A4E15 #154A4E
tetradic
#4E154A #4E3615 #154E19 #152E4E
square
#4E154A #4E3615 #154E19 #152E4E
split-complementary
#4E154A #2E4E15 #154E36
monochromatic
#180617 #1E081C #4E154A #7E2278 #AE2FA5

Accessibility & contrast

On white

13.73
#4E154A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E154A
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E154A#FFFFFF#000000##FFFFFF
##4E154A1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e154a;
/* rgb */ color: rgb(78, 21, 74);
/* oklch */ color: oklch(31.3% 0.110 330.8);
Tailwind
colors: {
  custom: {
    50: '#82587d',
    500: '#4e154a',
    950: '#000000',
  },
}
SCSS
$custom: #4e154a;
$custom-light: #82587d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e154a",
  "rgb": {
    "r": 78,
    "g": 21,
    "b": 74
  },
  "hsl": {
    "h": 304.211,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31253,
    "c": 0.10991,
    "h": 330.8
  },
  "luminance": 0.0265
}

Semantic roles & 50–950 ramp

primary
#4E154A
secondary
#39863E
accent
#E15247
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4E154A

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

Preview Lab → · Contrast checker → · Palette generator →

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