#4E214D#4E214D

#4E214D is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.1% C 0.093 H 328.3°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#4E214D
RGBrgb(78, 33, 77)
HSLhsl(301, 41%, 22%)
HSVhsv(301, 58%, 31%)
CMYKcmyk(0%, 57.7%, 1.3%, 69.4%)
CIE-LABlab(20.99, 28.21, -17.77)
CIE-LCHlch(20.99, 33.33, 327.79°)
OKLaboklab(33.07% 0.0788 -0.0488)
OKLCHoklch(33.07% 0.093 328.3)
XYZxyz(5.0252, 3.2435, 7.3811)
Luminance0.0324 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E214D #214E22
analogous
#39214E #4E214D #4E2137
triadic
#4E214D #4D4E21 #214D4E
tetradic
#4E214D #4E3921 #214E22 #21374E
square
#4E214D #4E3921 #214E22 #21374E
split-complementary
#4E214D #374E21 #214E39
monochromatic
#160915 #230F23 #4E214D #793377 #A445A2

Accessibility & contrast

On white

12.74
#4E214D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4E214D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E214D
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E214D#FFFFFF#000000##FFFFFF
##4E214D1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2F4E
Deuteranopia (green-blind)
#2B354C
Tritanopia (blue-blind)
#502633
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e214d;
/* rgb */ color: rgb(78, 33, 77);
/* oklch */ color: oklch(33.1% 0.093 328.3);
Tailwind
colors: {
  custom: {
    50: '#815f7f',
    500: '#4e214d',
    950: '#000000',
  },
}
SCSS
$custom: #4e214d;
$custom-light: #815f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e214d",
  "rgb": {
    "r": 78,
    "g": 33,
    "b": 77
  },
  "hsl": {
    "h": 301.333,
    "s": 40.541,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33065,
    "c": 0.0927,
    "h": 328.3
  },
  "luminance": 0.03243
}

Semantic roles & 50–950 ramp

primary
#4E214D
secondary
#49824A
accent
#D05A57
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4E214D

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

Preview Lab → · Contrast checker → · Palette generator →

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