#4E154F#4E154F

#4E154F is a dark, moderate purple. Relative luminance 0.027; OKLCH L 31.6% C 0.115 H 327.2°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#4E154F
RGBrgb(78, 21, 79)
HSLhsl(299, 58%, 20%)
HSVhsv(299, 73%, 31%)
CMYKcmyk(1.3%, 73.4%, 0%, 69%)
CIE-LABlab(18.89, 34.70, -22.43)
CIE-LCHlch(18.89, 41.32, 327.12°)
OKLaboklab(31.57% 0.0962 -0.0621)
OKLCHoklch(31.57% 0.115 327.2)
XYZxyz(4.8213, 2.7209, 7.6669)
Luminance0.0272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E154F #164F15
analogous
#31154F #4E154F #4F1533
triadic
#4E154F #4F4E15 #154F4E
tetradic
#4E154F #4F3115 #164F15 #15334F
square
#4E154F #4F3115 #164F15 #15334F
split-complementary
#4E154F #334F15 #154F31
monochromatic
#180618 #1E081F #4E154F #7E227F #AD2FB0

Accessibility & contrast

On white

13.60
#4E154F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E154F
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E154F#FFFFFF#000000##FFFFFF
##4E154F1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2951
Deuteranopia (green-blind)
#23304D
Tritanopia (blue-blind)
#501D30
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e154f;
/* rgb */ color: rgb(78, 21, 79);
/* oklch */ color: oklch(31.6% 0.115 327.2);
Tailwind
colors: {
  custom: {
    50: '#825880',
    500: '#4e154f',
    950: '#000000',
  },
}
SCSS
$custom: #4e154f;
$custom-light: #825880;
$custom-dark: #000000;
JSON
{
  "hex": "#4e154f",
  "rgb": {
    "r": 78,
    "g": 21,
    "b": 79
  },
  "hsl": {
    "h": 298.966,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31569,
    "c": 0.11454,
    "h": 327.2
  },
  "luminance": 0.02721
}

Semantic roles & 50–950 ramp

primary
#4E154F
secondary
#3A8739
accent
#E14749
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4E154F

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

Preview Lab → · Contrast checker → · Palette generator →

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