#4E1D53#4E1D53

#4E1D53 is a dark, moderate purple. Relative luminance 0.031; OKLCH L 32.8% C 0.106 H 323.9°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#4E1D53
RGBrgb(78, 29, 83)
HSLhsl(294, 48%, 22%)
HSVhsv(294, 65%, 33%)
CMYKcmyk(6%, 65.1%, 0%, 67.5%)
CIE-LABlab(20.53, 31.65, -22.54)
CIE-LCHlch(20.53, 38.85, 324.54°)
OKLaboklab(32.84% 0.0857 -0.0625)
OKLCHoklch(32.84% 0.106 323.9)
XYZxyz(5.1424, 3.1232, 8.5139)
Luminance0.0312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D53 #22531D
analogous
#331D53 #4E1D53 #531D3D
triadic
#4E1D53 #534E1D #1D534E
tetradic
#4E1D53 #53331D #22531D #1D3D53
square
#4E1D53 #53331D #22531D #1D3D53
split-complementary
#4E1D53 #3D531D #1D5333
monochromatic
#150817 #230D26 #4E1D53 #792D80 #A33DAE

Accessibility & contrast

On white

12.93
#4E1D53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4E1D53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1D53
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D53#FFFFFF#000000##FFFFFF
##4E1D531.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142E55
Deuteranopia (green-blind)
#253352
Tritanopia (blue-blind)
#502535
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1d53;
/* rgb */ color: rgb(78, 29, 83);
/* oklch */ color: oklch(32.8% 0.106 323.9);
Tailwind
colors: {
  custom: {
    50: '#815d83',
    500: '#4e1d53',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d53;
$custom-light: #815d83;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d53",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 83
  },
  "hsl": {
    "h": 294.444,
    "s": 48.214,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32837,
    "c": 0.10603,
    "h": 323.9
  },
  "luminance": 0.03123
}

Semantic roles & 50–950 ramp

primary
#4E1D53
secondary
#4A8844
accent
#D8505D
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4E1D53

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

Preview Lab → · Contrast checker → · Palette generator →

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