#4E1560#4E1560

#4E1560 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.8% C 0.131 H 316.7°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#4E1560
RGBrgb(78, 21, 96)
HSLhsl(286, 64%, 23%)
HSVhsv(286, 78%, 38%)
CMYKcmyk(18.7%, 78.1%, 0%, 62.4%)
CIE-LABlab(20.05, 38.27, -31.98)
CIE-LCHlch(20.05, 49.87, 320.11°)
OKLaboklab(32.77% 0.0954 -0.09)
OKLCHoklch(32.77% 0.131 316.7)
XYZxyz(5.5211, 3.0008, 11.3524)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1560 #276015
analogous
#281560 #4E1560 #60154C
triadic
#4E1560 #604E15 #15604E
tetradic
#4E1560 #602815 #276015 #154C60
square
#4E1560 #602815 #276015 #154C60
split-complementary
#4E1560 #4C6015 #156028
monochromatic
#140519 #250A2E #4E1560 #772092 #A02BC4

Accessibility & contrast

On white

13.12
#4E1560 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1560
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1560#FFFFFF#000000##FFFFFF
##4E15601.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D62
Deuteranopia (green-blind)
#16325E
Tritanopia (blue-blind)
#4D2539
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1560;
/* rgb */ color: rgb(78, 21, 96);
/* oklch */ color: oklch(32.8% 0.131 316.7);
Tailwind
colors: {
  custom: {
    50: '#83598e',
    500: '#4e1560',
    950: '#000000',
  },
}
SCSS
$custom: #4e1560;
$custom-light: #83598e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1560",
  "rgb": {
    "r": 78,
    "g": 21,
    "b": 96
  },
  "hsl": {
    "h": 285.6,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32768,
    "c": 0.13115,
    "h": 316.7
  },
  "luminance": 0.03001
}

Semantic roles & 50–950 ramp

primary
#4E1560
secondary
#50973A
accent
#E74169
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1560

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

Preview Lab → · Contrast checker → · Palette generator →

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