#4E1A4F#4E1A4F

#4E1A4F is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.2% C 0.107 H 327.0°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#4E1A4F
RGBrgb(78, 26, 79)
HSLhsl(299, 50%, 21%)
HSVhsv(299, 67%, 31%)
CMYKcmyk(1.3%, 67.1%, 0%, 69%)
CIE-LABlab(19.73, 32.35, -21.10)
CIE-LCHlch(19.73, 38.62, 326.89°)
OKLaboklab(32.18% 0.0896 -0.0583)
OKLCHoklch(32.18% 0.107 327)
XYZxyz(4.9225, 2.9233, 7.7006)
Luminance0.0292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A4F #1B4F1A
analogous
#331A4F #4E1A4F #4F1A35
triadic
#4E1A4F #4F4E1A #1A4F4E
tetradic
#4E1A4F #4F331A #1B4F1A #1A354F
square
#4E1A4F #4F331A #1B4F1A #1A354F
split-complementary
#4E1A4F #354F1A #1A4F33
monochromatic
#170817 #210B21 #4E1A4F #7B297D #A938AB

Accessibility & contrast

On white

13.25
#4E1A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1A4F
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1A4F#FFFFFF#000000##FFFFFF
##4E1A4F1.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132B51
Deuteranopia (green-blind)
#26324E
Tritanopia (blue-blind)
#502131
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1a4f;
/* rgb */ color: rgb(78, 26, 79);
/* oklch */ color: oklch(32.2% 0.107 327.0);
Tailwind
colors: {
  custom: {
    50: '#825b80',
    500: '#4e1a4f',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a4f;
$custom-light: #825b80;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a4f",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 79
  },
  "hsl": {
    "h": 298.868,
    "s": 50.476,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3218,
    "c": 0.10691,
    "h": 327
  },
  "luminance": 0.02923
}

Semantic roles & 50–950 ramp

primary
#4E1A4F
secondary
#418540
accent
#DA4E50
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4E1A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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