#4E1757#4E1757

#4E1757 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 32.3% C 0.119 H 321.7°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#4E1757
RGBrgb(78, 23, 87)
HSLhsl(292, 58%, 22%)
HSVhsv(292, 74%, 34%)
CMYKcmyk(10.3%, 73.6%, 0%, 65.9%)
CIE-LABlab(19.72, 35.44, -26.51)
CIE-LCHlch(19.72, 44.26, 323.21°)
OKLaboklab(32.34% 0.0938 -0.074)
OKLCHoklch(32.34% 0.119 321.7)
XYZxyz(5.1684, 2.9209, 9.3065)
Luminance0.0292 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1757 #205717
analogous
#2E1757 #4E1757 #571740
triadic
#4E1757 #574E17 #17574E
tetradic
#4E1757 #572E17 #205717 #174057
square
#4E1757 #572E17 #205717 #174057
split-complementary
#4E1757 #405717 #17572E
monochromatic
#160618 #230A27 #4E1757 #792487 #A531B8

Accessibility & contrast

On white

13.26
#4E1757 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1757
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1757#FFFFFF#000000##FFFFFF
##4E17571.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042C59
Deuteranopia (green-blind)
#1F3255
Tritanopia (blue-blind)
#4F2235
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1757;
/* rgb */ color: rgb(78, 23, 87);
/* oklch */ color: oklch(32.3% 0.119 321.7);
Tailwind
colors: {
  custom: {
    50: '#825987',
    500: '#4e1757',
    950: '#000000',
  },
}
SCSS
$custom: #4e1757;
$custom-light: #825987;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1757",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 87
  },
  "hsl": {
    "h": 291.563,
    "s": 58.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32335,
    "c": 0.11945,
    "h": 321.7
  },
  "luminance": 0.02921
}

Semantic roles & 50–950 ramp

primary
#4E1757
secondary
#478E3C
accent
#E1465C
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1757

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

Preview Lab → · Contrast checker → · Palette generator →

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