#4E1A54#4E1A54

#4E1A54 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.5% C 0.112 H 323.4°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#4E1A54
RGBrgb(78, 26, 84)
HSLhsl(294, 53%, 22%)
HSVhsv(294, 69%, 33%)
CMYKcmyk(7.1%, 69%, 0%, 67.1%)
CIE-LABlab(20.04, 33.39, -23.99)
CIE-LCHlch(20.04, 41.11, 324.30°)
OKLaboklab(32.5% 0.0899 -0.0667)
OKLCHoklch(32.5% 0.112 323.4)
XYZxyz(5.1114, 2.9989, 8.6954)
Luminance0.0300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A54 #20541A
analogous
#311A54 #4E1A54 #541A3D
triadic
#4E1A54 #544E1A #1A544E
tetradic
#4E1A54 #54311A #20541A #1A3D54
square
#4E1A54 #54311A #20541A #1A3D54
split-complementary
#4E1A54 #3D541A #1A5431
monochromatic
#160717 #230C25 #4E1A54 #792883 #A537B1

Accessibility & contrast

On white

13.13
#4E1A54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1A54
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1A54#FFFFFF#000000##FFFFFF
##4E1A541.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2C56
Deuteranopia (green-blind)
#233253
Tritanopia (blue-blind)
#4F2334
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1a54;
/* rgb */ color: rgb(78, 26, 84);
/* oklch */ color: oklch(32.5% 0.112 323.4);
Tailwind
colors: {
  custom: {
    50: '#825b84',
    500: '#4e1a54',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a54;
$custom-light: #825b84;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a54",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 84
  },
  "hsl": {
    "h": 293.793,
    "s": 52.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.325,
    "c": 0.11192,
    "h": 323.4
  },
  "luminance": 0.02999
}

Semantic roles & 50–950 ramp

primary
#4E1A54
secondary
#478A40
accent
#DC4C5B
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1A54

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

Preview Lab → · Contrast checker → · Palette generator →

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