#4E154E#4E154E

#4E154E is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.5% C 0.114 H 327.9°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#4E154E
RGBrgb(78, 21, 78)
HSLhsl(300, 58%, 19%)
HSVhsv(300, 73%, 31%)
CMYKcmyk(0%, 73.1%, 0%, 69.4%)
CIE-LABlab(18.83, 34.51, -21.85)
CIE-LCHlch(18.83, 40.84, 327.65°)
OKLaboklab(31.5% 0.0962 -0.0604)
OKLCHoklch(31.5% 0.114 327.9)
XYZxyz(4.7851, 2.7064, 7.4766)
Luminance0.0271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E154E #154E15
analogous
#32154E #4E154E #4E1532
triadic
#4E154E #4E4E15 #154E4E
tetradic
#4E154E #4E3215 #154E15 #15324E
square
#4E154E #4E3215 #154E15 #15324E
split-complementary
#4E154E #324E15 #154E32
monochromatic
#180618 #1E081E #4E154E #7E227E #AE2FAE

Accessibility & contrast

On white

13.63
#4E154E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E154E
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E154E#FFFFFF#000000##FFFFFF
##4E154E1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e154e;
/* rgb */ color: rgb(78, 21, 78);
/* oklch */ color: oklch(31.5% 0.114 327.9);
Tailwind
colors: {
  custom: {
    50: '#825880',
    500: '#4e154e',
    950: '#000000',
  },
}
SCSS
$custom: #4e154e;
$custom-light: #825880;
$custom-dark: #000000;
JSON
{
  "hex": "#4e154e",
  "rgb": {
    "r": 78,
    "g": 21,
    "b": 78
  },
  "hsl": {
    "h": 300,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31504,
    "c": 0.1136,
    "h": 327.9
  },
  "luminance": 0.02706
}

Semantic roles & 50–950 ramp

primary
#4E154E
secondary
#398639
accent
#E14747
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4E154E

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

Preview Lab → · Contrast checker → · Palette generator →

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