#4E1A4E#4E1A4E

#4E1A4E is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.1% C 0.106 H 327.7°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#4E1A4E
RGBrgb(78, 26, 78)
HSLhsl(300, 50%, 20%)
HSVhsv(300, 67%, 31%)
CMYKcmyk(0%, 66.7%, 0%, 69.4%)
CIE-LABlab(19.68, 32.14, -20.51)
CIE-LCHlch(19.68, 38.13, 327.46°)
OKLaboklab(32.12% 0.0895 -0.0566)
OKLCHoklch(32.12% 0.106 327.7)
XYZxyz(4.8864, 2.9089, 7.5103)
Luminance0.0291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A4E #1A4E1A
analogous
#341A4E #4E1A4E #4E1A34
triadic
#4E1A4E #4E4E1A #1A4E4E
tetradic
#4E1A4E #4E341A #1A4E1A #1A344E
square
#4E1A4E #4E341A #1A4E1A #1A344E
split-complementary
#4E1A4E #344E1A #1A4E34
monochromatic
#170817 #200B20 #4E1A4E #7C297C #AA39AA

Accessibility & contrast

On white

13.28
#4E1A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1A4E
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1A4E#FFFFFF#000000##FFFFFF
##4E1A4E1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142B50
Deuteranopia (green-blind)
#26324D
Tritanopia (blue-blind)
#502131
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1a4e;
/* rgb */ color: rgb(78, 26, 78);
/* oklch */ color: oklch(32.1% 0.106 327.7);
Tailwind
colors: {
  custom: {
    50: '#825b80',
    500: '#4e1a4e',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a4e;
$custom-light: #825b80;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a4e",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 300,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.32118,
    "c": 0.10591,
    "h": 327.7
  },
  "luminance": 0.02909
}

Semantic roles & 50–950 ramp

primary
#4E1A4E
secondary
#408440
accent
#DA4E4E
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4E1A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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