#4E215A#4E215A

#4E215A is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.9% C 0.107 H 318.7°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#4E215A
RGBrgb(78, 33, 90)
HSLhsl(287, 46%, 24%)
HSVhsv(287, 63%, 35%)
CMYKcmyk(13.3%, 63.3%, 0%, 64.7%)
CIE-LABlab(21.75, 31.05, -25.29)
CIE-LCHlch(21.75, 40.05, 320.84°)
OKLaboklab(33.86% 0.0803 -0.0705)
OKLCHoklch(33.86% 0.107 318.7)
XYZxyz(5.5310, 3.4458, 10.0446)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E215A #2D5A21
analogous
#32215A #4E215A #5A214A
triadic
#4E215A #5A4E21 #215A4E
tetradic
#4E215A #5A3221 #2D5A21 #214A5A
square
#4E215A #5A3221 #2D5A21 #214A5A
split-complementary
#4E215A #4A5A21 #215A32
monochromatic
#130816 #27112D #4E215A #753187 #9C42B4

Accessibility & contrast

On white

12.43
#4E215A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#4E215A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E215A
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E215A#FFFFFF#000000##FFFFFF
##4E215A1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13315C
Deuteranopia (green-blind)
#243659
Tritanopia (blue-blind)
#4E2A3A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e215a;
/* rgb */ color: rgb(78, 33, 90);
/* oklch */ color: oklch(33.9% 0.107 318.7);
Tailwind
colors: {
  custom: {
    50: '#815f89',
    500: '#4e215a',
    950: '#000000',
  },
}
SCSS
$custom: #4e215a;
$custom-light: #815f89;
$custom-dark: #000000;
JSON
{
  "hex": "#4e215a",
  "rgb": {
    "r": 78,
    "g": 33,
    "b": 90
  },
  "hsl": {
    "h": 287.368,
    "s": 46.341,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33862,
    "c": 0.10685,
    "h": 318.7
  },
  "luminance": 0.03446
}

Semantic roles & 50–950 ramp

primary
#4E215A
secondary
#578E49
accent
#D6526E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0A050B
muted
#7C797C

Preview Lab

Preview with #4E215A

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

Preview Lab → · Contrast checker → · Palette generator →

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