#4E215F#4E215F

#4E215F is a dark, moderate purple. Relative luminance 0.035; OKLCH L 34.2% C 0.113 H 315.6°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#4E215F
RGBrgb(78, 33, 95)
HSLhsl(284, 48%, 25%)
HSVhsv(284, 65%, 37%)
CMYKcmyk(17.9%, 65.3%, 0%, 62.7%)
CIE-LABlab(22.07, 32.22, -28.09)
CIE-LCHlch(22.07, 42.74, 318.92°)
OKLaboklab(34.2% 0.0804 -0.0787)
OKLCHoklch(34.2% 0.113 315.6)
XYZxyz(5.7510, 3.5338, 11.2034)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E215F #325F21
analogous
#2F215F #4E215F #5F2151
triadic
#4E215F #5F4E21 #215F4E
tetradic
#4E215F #5F2F21 #325F21 #21515F
square
#4E215F #5F2F21 #325F21 #21515F
split-complementary
#4E215F #515F21 #215F2F
monochromatic
#130817 #291132 #4E215F #73318C #9941BA

Accessibility & contrast

On white

12.30
#4E215F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#4E215F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E215F
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E215F#FFFFFF#000000##FFFFFF
##4E215F1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e215f;
/* rgb */ color: rgb(78, 33, 95);
/* oklch */ color: oklch(34.2% 0.113 315.6);
Tailwind
colors: {
  custom: {
    50: '#825f8d',
    500: '#4e215f',
    950: '#000000',
  },
}
SCSS
$custom: #4e215f;
$custom-light: #825f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e215f",
  "rgb": {
    "r": 78,
    "g": 33,
    "b": 95
  },
  "hsl": {
    "h": 283.548,
    "s": 48.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34197,
    "c": 0.11252,
    "h": 315.6
  },
  "luminance": 0.03534
}

Semantic roles & 50–950 ramp

primary
#4E215F
secondary
#5D9349
accent
#D85075
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B050C
muted
#7C797D

Preview Lab

Preview with #4E215F

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

Preview Lab → · Contrast checker → · Palette generator →

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