#4E1E53#4E1E53

#4E1E53 is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.0% C 0.104 H 323.8°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#4E1E53
RGBrgb(78, 30, 83)
HSLhsl(294, 47%, 22%)
HSVhsv(294, 64%, 33%)
CMYKcmyk(6%, 63.9%, 0%, 67.5%)
CIE-LABlab(20.72, 31.12, -22.23)
CIE-LCHlch(20.72, 38.25, 324.46°)
OKLaboklab(32.98% 0.0842 -0.0616)
OKLCHoklch(32.98% 0.104 323.8)
XYZxyz(5.1673, 3.1731, 8.5222)
Luminance0.0317 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E53 #23531E
analogous
#341E53 #4E1E53 #531E3E
triadic
#4E1E53 #534E1E #1E534E
tetradic
#4E1E53 #53341E #23531E #1E3E53
square
#4E1E53 #53341E #23531E #1E3E53
split-complementary
#4E1E53 #3E531E #1E5334
monochromatic
#150816 #240E26 #4E1E53 #782E80 #A23EAD

Accessibility & contrast

On white

12.85
#4E1E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4E1E53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E53
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E53#FFFFFF#000000##FFFFFF
##4E1E531.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152E55
Deuteranopia (green-blind)
#263452
Tritanopia (blue-blind)
#4F2535
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e1e53;
/* rgb */ color: rgb(78, 30, 83);
/* oklch */ color: oklch(33.0% 0.104 323.8);
Tailwind
colors: {
  custom: {
    50: '#815d83',
    500: '#4e1e53',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e53;
$custom-light: #815d83;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e53",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 83
  },
  "hsl": {
    "h": 294.34,
    "s": 46.903,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32977,
    "c": 0.10434,
    "h": 323.8
  },
  "luminance": 0.03173
}

Semantic roles & 50–950 ramp

primary
#4E1E53
secondary
#4B8845
accent
#D7515E
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4E1E53

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

Preview Lab → · Contrast checker → · Palette generator →

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