#4E215C#4E215C

#4E215C is a dark, moderate purple. Relative luminance 0.035; OKLCH L 34.0% C 0.109 H 317.4°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#4E215C
RGBrgb(78, 33, 92)
HSLhsl(286, 47%, 25%)
HSVhsv(286, 64%, 36%)
CMYKcmyk(15.2%, 64.1%, 0%, 63.9%)
CIE-LABlab(21.87, 31.51, -26.41)
CIE-LCHlch(21.87, 41.12, 320.03°)
OKLaboklab(33.99% 0.0804 -0.0738)
OKLCHoklch(33.99% 0.109 317.4)
XYZxyz(5.6172, 3.4803, 10.4990)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E215C #2F5C21
analogous
#31215C #4E215C #5C214D
triadic
#4E215C #5C4E21 #215C4E
tetradic
#4E215C #5C3121 #2F5C21 #214D5C
square
#4E215C #5C3121 #2F5C21 #214D5C
split-complementary
#4E215C #4D5C21 #215C31
monochromatic
#130817 #28112F #4E215C #743189 #9A41B6

Accessibility & contrast

On white

12.38
#4E215C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E215C
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E215C#FFFFFF#000000##FFFFFF
##4E215C1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11315E
Deuteranopia (green-blind)
#23365B
Tritanopia (blue-blind)
#4E2B3B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e215c;
/* rgb */ color: rgb(78, 33, 92);
/* oklch */ color: oklch(34.0% 0.109 317.4);
Tailwind
colors: {
  custom: {
    50: '#825f8a',
    500: '#4e215c',
    950: '#000000',
  },
}
SCSS
$custom: #4e215c;
$custom-light: #825f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e215c",
  "rgb": {
    "r": 78,
    "g": 33,
    "b": 92
  },
  "hsl": {
    "h": 285.763,
    "s": 47.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33994,
    "c": 0.10911,
    "h": 317.4
  },
  "luminance": 0.0348
}

Semantic roles & 50–950 ramp

primary
#4E215C
secondary
#5A9049
accent
#D75171
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #4E215C

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

Preview Lab → · Contrast checker → · Palette generator →

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