#4E214E#4E214E

#4E214E is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.1% C 0.094 H 327.4°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#4E214E
RGBrgb(78, 33, 78)
HSLhsl(300, 41%, 22%)
HSVhsv(300, 58%, 31%)
CMYKcmyk(0%, 57.7%, 0%, 69.4%)
CIE-LABlab(21.05, 28.41, -18.36)
CIE-LCHlch(21.05, 33.83, 327.13°)
OKLaboklab(33.12% 0.079 -0.0505)
OKLCHoklch(33.12% 0.094 327.4)
XYZxyz(5.0608, 3.2578, 7.5685)
Luminance0.0326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E214E #214E21
analogous
#38214E #4E214E #4E2138
triadic
#4E214E #4E4E21 #214E4E
tetradic
#4E214E #4E3821 #214E21 #21384E
square
#4E214E #4E3821 #214E21 #21384E
split-complementary
#4E214E #384E21 #214E38
monochromatic
#160916 #230F23 #4E214E #793379 #A445A4

Accessibility & contrast

On white

12.72
#4E214E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E214E
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E214E#FFFFFF#000000##FFFFFF
##4E214E1.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2F4F
Deuteranopia (green-blind)
#2B354D
Tritanopia (blue-blind)
#502634
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e214e;
/* rgb */ color: rgb(78, 33, 78);
/* oklch */ color: oklch(33.1% 0.094 327.4);
Tailwind
colors: {
  custom: {
    50: '#815f7f',
    500: '#4e214e',
    950: '#000000',
  },
}
SCSS
$custom: #4e214e;
$custom-light: #815f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e214e",
  "rgb": {
    "r": 78,
    "g": 33,
    "b": 78
  },
  "hsl": {
    "h": 300,
    "s": 40.541,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33122,
    "c": 0.09374,
    "h": 327.4
  },
  "luminance": 0.03257
}

Semantic roles & 50–950 ramp

primary
#4E214E
secondary
#498249
accent
#D05757
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A050A
muted
#7C797C

Preview Lab

Preview with #4E214E

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

Preview Lab → · Contrast checker → · Palette generator →

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