#4E215E#4E215E

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

Color values

HEX#4E215E
RGBrgb(78, 33, 94)
HSLhsl(284, 48%, 25%)
HSVhsv(284, 65%, 37%)
CMYKcmyk(17%, 64.9%, 0%, 63.1%)
CIE-LABlab(22.00, 31.98, -27.53)
CIE-LCHlch(22.00, 42.20, 319.27°)
OKLaboklab(34.13% 0.0804 -0.0771)
OKLCHoklch(34.13% 0.111 316.2)
XYZxyz(5.7058, 3.5158, 10.9656)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E215E #315E21
analogous
#2F215E #4E215E #5E2150
triadic
#4E215E #5E4E21 #215E4E
tetradic
#4E215E #5E2F21 #315E21 #21505E
square
#4E215E #5E2F21 #315E21 #21505E
split-complementary
#4E215E #505E21 #215E2F
monochromatic
#130817 #281131 #4E215E #74318B #9941B9

Accessibility & contrast

On white

12.33
#4E215E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E215E
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E215E#FFFFFF#000000##FFFFFF
##4E215E1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3260
Deuteranopia (green-blind)
#21365C
Tritanopia (blue-blind)
#4D2C3C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4e215e;
/* rgb */ color: rgb(78, 33, 94);
/* oklch */ color: oklch(34.1% 0.111 316.2);
Tailwind
colors: {
  custom: {
    50: '#825f8c',
    500: '#4e215e',
    950: '#000000',
  },
}
SCSS
$custom: #4e215e;
$custom-light: #825f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e215e",
  "rgb": {
    "r": 78,
    "g": 33,
    "b": 94
  },
  "hsl": {
    "h": 284.262,
    "s": 48.031,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34129,
    "c": 0.11138,
    "h": 316.2
  },
  "luminance": 0.03516
}

Semantic roles & 50–950 ramp

primary
#4E215E
secondary
#5C9249
accent
#D85074
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #4E215E

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

Preview Lab → · Contrast checker → · Palette generator →

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