#4E1B60#4E1B60

#4E1B60 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.5% C 0.123 H 316.0°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#4E1B60
RGBrgb(78, 27, 96)
HSLhsl(284, 56%, 24%)
HSVhsv(284, 72%, 38%)
CMYKcmyk(18.7%, 71.9%, 0%, 62.4%)
CIE-LABlab(21.01, 35.54, -30.43)
CIE-LCHlch(21.01, 46.79, 319.43°)
OKLaboklab(33.46% 0.0884 -0.0855)
OKLCHoklch(33.46% 0.123 316)
XYZxyz(5.6448, 3.2483, 11.3937)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1B60 #2D601B
analogous
#2C1B60 #4E1B60 #601B50
triadic
#4E1B60 #604E1B #1B604E
tetradic
#4E1B60 #602C1B #2D601B #1B5060
square
#4E1B60 #602C1B #2D601B #1B5060
split-complementary
#4E1B60 #50601B #1B602C
monochromatic
#130718 #270E30 #4E1B60 #752890 #9C36C0

Accessibility & contrast

On white

12.73
#4E1B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4E1B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1B60
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1B60#FFFFFF#000000##FFFFFF
##4E1B601.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F62
Deuteranopia (green-blind)
#1B345E
Tritanopia (blue-blind)
#4D283B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e1b60;
/* rgb */ color: rgb(78, 27, 96);
/* oklch */ color: oklch(33.5% 0.123 316.0);
Tailwind
colors: {
  custom: {
    50: '#825c8d',
    500: '#4e1b60',
    950: '#000000',
  },
}
SCSS
$custom: #4e1b60;
$custom-light: #825c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1b60",
  "rgb": {
    "r": 78,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 284.348,
    "s": 56.098,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33457,
    "c": 0.12298,
    "h": 316
  },
  "luminance": 0.03248
}

Semantic roles & 50–950 ramp

primary
#4E1B60
secondary
#579641
accent
#DF4870
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1B60

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

Preview Lab → · Contrast checker → · Palette generator →

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