#4E215B#4E215B

#4E215B is a dark, moderate purple. Relative luminance 0.035; OKLCH L 33.9% C 0.108 H 318.1°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#4E215B
RGBrgb(78, 33, 91)
HSLhsl(287, 47%, 24%)
HSVhsv(287, 64%, 36%)
CMYKcmyk(14.3%, 63.7%, 0%, 64.3%)
CIE-LABlab(21.81, 31.28, -25.85)
CIE-LCHlch(21.81, 40.58, 320.43°)
OKLaboklab(33.93% 0.0803 -0.0722)
OKLCHoklch(33.93% 0.108 318.1)
XYZxyz(5.5738, 3.4630, 10.2703)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E215B #2E5B21
analogous
#31215B #4E215B #5B214B
triadic
#4E215B #5B4E21 #215B4E
tetradic
#4E215B #5B3121 #2E5B21 #214B5B
square
#4E215B #5B3121 #2E5B21 #214B5B
split-complementary
#4E215B #4B5B21 #215B31
monochromatic
#130816 #28112E #4E215B #743188 #9B42B5

Accessibility & contrast

On white

12.41
#4E215B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E215B
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E215B#FFFFFF#000000##FFFFFF
##4E215B1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12315D
Deuteranopia (green-blind)
#24365A
Tritanopia (blue-blind)
#4E2A3A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e215b;
/* rgb */ color: rgb(78, 33, 91);
/* oklch */ color: oklch(33.9% 0.108 318.1);
Tailwind
colors: {
  custom: {
    50: '#815f8a',
    500: '#4e215b',
    950: '#000000',
  },
}
SCSS
$custom: #4e215b;
$custom-light: #815f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e215b",
  "rgb": {
    "r": 78,
    "g": 33,
    "b": 91
  },
  "hsl": {
    "h": 286.552,
    "s": 46.774,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33928,
    "c": 0.10798,
    "h": 318.1
  },
  "luminance": 0.03463
}

Semantic roles & 50–950 ramp

primary
#4E215B
secondary
#588F49
accent
#D6516F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B050B
muted
#7C797C

Preview Lab

Preview with #4E215B

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

Preview Lab → · Contrast checker → · Palette generator →

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