#4E1B53#4E1B53

#4E1B53 is a dark, moderate purple. Relative luminance 0.030; OKLCH L 32.6% C 0.109 H 324.0°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#4E1B53
RGBrgb(78, 27, 83)
HSLhsl(295, 51%, 22%)
HSVhsv(295, 67%, 33%)
CMYKcmyk(6%, 67.5%, 0%, 67.5%)
CIE-LABlab(20.16, 32.68, -23.13)
CIE-LCHlch(20.16, 40.03, 324.71°)
OKLaboklab(32.57% 0.0885 -0.0642)
OKLCHoklch(32.57% 0.109 324)
XYZxyz(5.0950, 3.0284, 8.4981)
Luminance0.0303 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1B53 #20531B
analogous
#321B53 #4E1B53 #531B3C
triadic
#4E1B53 #534E1B #1B534E
tetradic
#4E1B53 #53321B #20531B #1B3C53
square
#4E1B53 #53321B #20531B #1B3C53
split-complementary
#4E1B53 #3C531B #1B5332
monochromatic
#160817 #230C25 #4E1B53 #792A81 #A539AF

Accessibility & contrast

On white

13.08
#4E1B53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4E1B53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1B53
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1B53#FFFFFF#000000##FFFFFF
##4E1B531.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112D55
Deuteranopia (green-blind)
#243352
Tritanopia (blue-blind)
#502334
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1b53;
/* rgb */ color: rgb(78, 27, 83);
/* oklch */ color: oklch(32.6% 0.109 324.0);
Tailwind
colors: {
  custom: {
    50: '#825b83',
    500: '#4e1b53',
    950: '#000000',
  },
}
SCSS
$custom: #4e1b53;
$custom-light: #825b83;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1b53",
  "rgb": {
    "r": 78,
    "g": 27,
    "b": 83
  },
  "hsl": {
    "h": 294.643,
    "s": 50.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32565,
    "c": 0.10932,
    "h": 324
  },
  "luminance": 0.03028
}

Semantic roles & 50–950 ramp

primary
#4E1B53
secondary
#478941
accent
#DA4D5A
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1B53

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

Preview Lab → · Contrast checker → · Palette generator →

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