#4E1A50#4E1A50

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

Color values

HEX#4E1A50
RGBrgb(78, 26, 80)
HSLhsl(298, 51%, 21%)
HSVhsv(298, 68%, 31%)
CMYKcmyk(2.5%, 67.5%, 0%, 68.6%)
CIE-LABlab(19.79, 32.55, -21.68)
CIE-LCHlch(19.79, 39.11, 326.34°)
OKLaboklab(32.24% 0.0897 -0.06)
OKLCHoklch(32.24% 0.108 326.2)
XYZxyz(4.9592, 2.9380, 7.8937)
Luminance0.0294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1A50 #1C501A
analogous
#331A50 #4E1A50 #501A37
triadic
#4E1A50 #504E1A #1A504E
tetradic
#4E1A50 #50331A #1C501A #1A3750
square
#4E1A50 #50331A #1C501A #1A3750
split-complementary
#4E1A50 #37501A #1A5033
monochromatic
#170817 #210B22 #4E1A50 #7B297E #A838AC

Accessibility & contrast

On white

13.23
#4E1A50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4E1A50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1A50
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1A50#FFFFFF#000000##FFFFFF
##4E1A501.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122C52
Deuteranopia (green-blind)
#25324F
Tritanopia (blue-blind)
#502132
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1a50;
/* rgb */ color: rgb(78, 26, 80);
/* oklch */ color: oklch(32.2% 0.108 326.2);
Tailwind
colors: {
  custom: {
    50: '#825b81',
    500: '#4e1a50',
    950: '#000000',
  },
}
SCSS
$custom: #4e1a50;
$custom-light: #825b81;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1a50",
  "rgb": {
    "r": 78,
    "g": 26,
    "b": 80
  },
  "hsl": {
    "h": 297.778,
    "s": 50.943,
    "l": 20.784
  },
  "oklch": {
    "l": 0.32242,
    "c": 0.10789,
    "h": 326.2
  },
  "luminance": 0.02938
}

Semantic roles & 50–950 ramp

primary
#4E1A50
secondary
#428640
accent
#DA4D53
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4E1A50

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

Preview Lab → · Contrast checker → · Palette generator →

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