#4E1A48#4E1A48

#4E1A48 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.8% C 0.100 H 332.4°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#4E1A48
RGBrgb(78, 26, 72)
HSLhsl(307, 50%, 20%)
HSVhsv(307, 67%, 31%)
CMYKcmyk(0%, 66.7%, 7.7%, 69.4%)
CIE-LABlab(19.34, 30.96, -16.95)
CIE-LCHlch(19.34, 35.30, 331.30°)
OKLaboklab(31.76% 0.0888 -0.0464)
OKLCHoklch(31.76% 0.1 332.4)
XYZxyz(4.6810, 2.8267, 6.4287)
Luminance0.0283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A48 #1A4E20
analogous
#3A1A4E #4E1A48 #4E1A2E
triadic
#4E1A48 #484E1A #1A484E
tetradic
#4E1A48 #4E3A1A #1A4E20 #1A2E4E
square
#4E1A48 #4E3A1A #1A4E20 #1A2E4E
split-complementary
#4E1A48 #2E4E1A #1A4E3A
monochromatic
#170815 #200B1E #4E1A48 #7C2972 #AA399D

Accessibility & contrast

On white

13.42
#4E1A48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4E1A48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1A48
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1A48#FFFFFF#000000##FFFFFF
##4E1A481.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182A49
Deuteranopia (green-blind)
#293247
Tritanopia (blue-blind)
#511E2E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1a48;
/* rgb */ color: rgb(78, 26, 72);
/* oklch */ color: oklch(31.8% 0.100 332.4);
Tailwind
colors: {
  custom: {
    50: '#815a7b',
    500: '#4e1a48',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a48;
$custom-light: #815a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a48",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 72
  },
  "hsl": {
    "h": 306.923,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3176,
    "c": 0.10017,
    "h": 332.4
  },
  "luminance": 0.02826
}

Semantic roles & 50–950 ramp

primary
#4E1A48
secondary
#408448
accent
#DA5E4E
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #4E1A48

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

Preview Lab → · Contrast checker → · Palette generator →

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