#4E215D#4E215D

#4E215D is a dark, moderate purple. Relative luminance 0.035; OKLCH L 34.1% C 0.110 H 316.8°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#4E215D
RGBrgb(78, 33, 93)
HSLhsl(285, 48%, 25%)
HSVhsv(285, 65%, 36%)
CMYKcmyk(16.1%, 64.5%, 0%, 63.5%)
CIE-LABlab(21.94, 31.75, -26.97)
CIE-LCHlch(21.94, 41.66, 319.65°)
OKLaboklab(34.06% 0.0804 -0.0754)
OKLCHoklch(34.06% 0.11 316.8)
XYZxyz(5.6612, 3.4979, 10.7308)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E215D #305D21
analogous
#30215D #4E215D #5D214E
triadic
#4E215D #5D4E21 #215D4E
tetradic
#4E215D #5D3021 #305D21 #214E5D
square
#4E215D #5D3021 #305D21 #214E5D
split-complementary
#4E215D #4E5D21 #215D30
monochromatic
#130817 #281130 #4E215D #74318A #9A41B7

Accessibility & contrast

On white

12.36
#4E215D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#4E215D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E215D
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E215D#FFFFFF#000000##FFFFFF
##4E215D1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10325F
Deuteranopia (green-blind)
#22365B
Tritanopia (blue-blind)
#4D2B3B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e215d;
/* rgb */ color: rgb(78, 33, 93);
/* oklch */ color: oklch(34.1% 0.110 316.8);
Tailwind
colors: {
  custom: {
    50: '#825f8b',
    500: '#4e215d',
    950: '#000000',
  },
}
SCSS
$custom: #4e215d;
$custom-light: #825f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e215d",
  "rgb": {
    "r": 78,
    "g": 33,
    "b": 93
  },
  "hsl": {
    "h": 285,
    "s": 47.619,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34061,
    "c": 0.11024,
    "h": 316.8
  },
  "luminance": 0.03498
}

Semantic roles & 50–950 ramp

primary
#4E215D
secondary
#5B9149
accent
#D75172
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #4E215D

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

Preview Lab → · Contrast checker → · Palette generator →

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