#4E1A46#4E1A46

#4E1A46 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.6% C 0.098 H 334.1°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#4E1A46
RGBrgb(78, 26, 70)
HSLhsl(309, 50%, 20%)
HSVhsv(309, 67%, 31%)
CMYKcmyk(0%, 66.7%, 10.3%, 69.4%)
CIE-LABlab(19.23, 30.59, -15.75)
CIE-LCHlch(19.23, 34.40, 332.75°)
OKLaboklab(31.65% 0.0885 -0.0429)
OKLCHoklch(31.65% 0.098 334.1)
XYZxyz(4.6168, 2.8010, 6.0907)
Luminance0.0280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A46 #1A4E22
analogous
#3C1A4E #4E1A46 #4E1A2C
triadic
#4E1A46 #464E1A #1A464E
tetradic
#4E1A46 #4E3C1A #1A4E22 #1A2C4E
square
#4E1A46 #4E3C1A #1A4E22 #1A2C4E
split-complementary
#4E1A46 #2C4E1A #1A4E3C
monochromatic
#170815 #200B1D #4E1A46 #7C296F #AA3998

Accessibility & contrast

On white

13.46
#4E1A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4E1A46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1A46
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1A46#FFFFFF#000000##FFFFFF
##4E1A461.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192A47
Deuteranopia (green-blind)
#2A3145
Tritanopia (blue-blind)
#521E2D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1a46;
/* rgb */ color: rgb(78, 26, 70);
/* oklch */ color: oklch(31.6% 0.098 334.1);
Tailwind
colors: {
  custom: {
    50: '#815a79',
    500: '#4e1a46',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a46;
$custom-light: #815a79;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a46",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 70
  },
  "hsl": {
    "h": 309.231,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31647,
    "c": 0.09833,
    "h": 334.1
  },
  "luminance": 0.02801
}

Semantic roles & 50–950 ramp

primary
#4E1A46
secondary
#40844A
accent
#DA644E
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #4E1A46

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

Preview Lab → · Contrast checker → · Palette generator →

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