#4E1B50#4E1B50

#4E1B50 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.4% C 0.106 H 326.2°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#4E1B50
RGBrgb(78, 27, 80)
HSLhsl(298, 50%, 21%)
HSVhsv(298, 66%, 31%)
CMYKcmyk(2.5%, 66.3%, 0%, 68.6%)
CIE-LABlab(19.98, 32.05, -21.39)
CIE-LCHlch(19.98, 38.53, 326.28°)
OKLaboklab(32.38% 0.0883 -0.0592)
OKLCHoklch(32.38% 0.106 326.2)
XYZxyz(4.9817, 2.9831, 7.9013)
Luminance0.0298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1B50 #1D501B
analogous
#331B50 #4E1B50 #501B37
triadic
#4E1B50 #504E1B #1B504E
tetradic
#4E1B50 #50331B #1D501B #1B3750
square
#4E1B50 #50331B #1D501B #1B3750
split-complementary
#4E1B50 #37501B #1B5033
monochromatic
#160817 #210C22 #4E1B50 #7B2A7E #A73AAC

Accessibility & contrast

On white

13.15
#4E1B50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4E1B50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1B50
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1B50#FFFFFF#000000##FFFFFF
##4E1B501.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132C52
Deuteranopia (green-blind)
#26334F
Tritanopia (blue-blind)
#502232
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1b50;
/* rgb */ color: rgb(78, 27, 80);
/* oklch */ color: oklch(32.4% 0.106 326.2);
Tailwind
colors: {
  custom: {
    50: '#825b81',
    500: '#4e1b50',
    950: '#000000',
  },
}
SCSS
$custom: #4e1b50;
$custom-light: #825b81;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1b50",
  "rgb": {
    "r": 78,
    "g": 27,
    "b": 80
  },
  "hsl": {
    "h": 297.736,
    "s": 49.533,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32375,
    "c": 0.10627,
    "h": 326.2
  },
  "luminance": 0.02983
}

Semantic roles & 50–950 ramp

primary
#4E1B50
secondary
#448641
accent
#D94F54
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4E1B50

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

Preview Lab → · Contrast checker → · Palette generator →

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