#4E1759#4E1759

#4E1759 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.5% C 0.121 H 320.5°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#4E1759
RGBrgb(78, 23, 89)
HSLhsl(290, 59%, 22%)
HSVhsv(290, 74%, 35%)
CMYKcmyk(12.4%, 74.2%, 0%, 65.1%)
CIE-LABlab(19.86, 35.87, -27.63)
CIE-LCHlch(19.86, 45.28, 322.39°)
OKLaboklab(32.48% 0.0937 -0.0773)
OKLCHoklch(32.48% 0.121 320.5)
XYZxyz(5.2512, 2.9540, 9.7428)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1759 #225917
analogous
#2D1759 #4E1759 #591743
triadic
#4E1759 #594E17 #17594E
tetradic
#4E1759 #592D17 #225917 #174359
square
#4E1759 #592D17 #225917 #174359
split-complementary
#4E1759 #435917 #17592D
monochromatic
#150618 #230A28 #4E1759 #79248A #A330BA

Accessibility & contrast

On white

13.20
#4E1759 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1759
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1759#FFFFFF#000000##FFFFFF
##4E17591.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012C5B
Deuteranopia (green-blind)
#1D3257
Tritanopia (blue-blind)
#4E2336
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1759;
/* rgb */ color: rgb(78, 23, 89);
/* oklch */ color: oklch(32.5% 0.121 320.5);
Tailwind
colors: {
  custom: {
    50: '#825a88',
    500: '#4e1759',
    950: '#000000',
  },
}
SCSS
$custom: #4e1759;
$custom-light: #825a88;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1759",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 89
  },
  "hsl": {
    "h": 290,
    "s": 58.929,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32475,
    "c": 0.12145,
    "h": 320.5
  },
  "luminance": 0.02954
}

Semantic roles & 50–950 ramp

primary
#4E1759
secondary
#4A903C
accent
#E24660
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1759

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

Preview Lab → · Contrast checker → · Palette generator →

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