#4E1A4C#4E1A4C

#4E1A4C is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.0% C 0.104 H 329.2°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#4E1A4C
RGBrgb(78, 26, 76)
HSLhsl(302, 50%, 20%)
HSVhsv(302, 67%, 31%)
CMYKcmyk(0%, 66.7%, 2.6%, 69.4%)
CIE-LABlab(19.56, 31.74, -19.34)
CIE-LCHlch(19.56, 37.17, 328.65°)
OKLaboklab(32% 0.0893 -0.0532)
OKLCHoklch(32% 0.104 329.2)
XYZxyz(4.8157, 2.8806, 7.1384)
Luminance0.0288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A4C #1A4E1C
analogous
#361A4E #4E1A4C #4E1A32
triadic
#4E1A4C #4C4E1A #1A4C4E
tetradic
#4E1A4C #4E361A #1A4E1C #1A324E
square
#4E1A4C #4E361A #1A4E1C #1A324E
split-complementary
#4E1A4C #324E1A #1A4E36
monochromatic
#170816 #200B1F #4E1A4C #7C2979 #AA39A5

Accessibility & contrast

On white

13.32
#4E1A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4E1A4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1A4C
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1A4C#FFFFFF#000000##FFFFFF
##4E1A4C1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152B4E
Deuteranopia (green-blind)
#27324B
Tritanopia (blue-blind)
#512030
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1a4c;
/* rgb */ color: rgb(78, 26, 76);
/* oklch */ color: oklch(32.0% 0.104 329.2);
Tailwind
colors: {
  custom: {
    50: '#825b7e',
    500: '#4e1a4c',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a4c;
$custom-light: #825b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a4c",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 76
  },
  "hsl": {
    "h": 302.308,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31996,
    "c": 0.10397,
    "h": 329.2
  },
  "luminance": 0.0288
}

Semantic roles & 50–950 ramp

primary
#4E1A4C
secondary
#408442
accent
#DA544E
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4E1A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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