#4E1A53#4E1A53

#4E1A53 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.4% C 0.111 H 324.1°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#4E1A53
RGBrgb(78, 26, 83)
HSLhsl(295, 52%, 21%)
HSVhsv(295, 69%, 33%)
CMYKcmyk(6%, 68.7%, 0%, 67.5%)
CIE-LABlab(19.98, 33.18, -23.42)
CIE-LCHlch(19.98, 40.61, 324.78°)
OKLaboklab(32.44% 0.0899 -0.065)
OKLCHoklch(32.44% 0.111 324.1)
XYZxyz(5.0725, 2.9833, 8.4906)
Luminance0.0298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A53 #1F531A
analogous
#321A53 #4E1A53 #531A3C
triadic
#4E1A53 #534E1A #1A534E
tetradic
#4E1A53 #53321A #1F531A #1A3C53
square
#4E1A53 #53321A #1F531A #1A3C53
split-complementary
#4E1A53 #3C531A #1A5332
monochromatic
#160717 #220B24 #4E1A53 #7A2982 #A637B0

Accessibility & contrast

On white

13.15
#4E1A53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4E1A53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1A53
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1A53#FFFFFF#000000##FFFFFF
##4E1A531.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2C55
Deuteranopia (green-blind)
#233252
Tritanopia (blue-blind)
#502334
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1a53;
/* rgb */ color: rgb(78, 26, 83);
/* oklch */ color: oklch(32.4% 0.111 324.1);
Tailwind
colors: {
  custom: {
    50: '#825b83',
    500: '#4e1a53',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a53;
$custom-light: #825b83;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a53",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 83
  },
  "hsl": {
    "h": 294.737,
    "s": 52.294,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32435,
    "c": 0.11091,
    "h": 324.1
  },
  "luminance": 0.02983
}

Semantic roles & 50–950 ramp

primary
#4E1A53
secondary
#468940
accent
#DC4C59
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1A53

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

Preview Lab → · Contrast checker → · Palette generator →

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