#4E1060#4E1060

#4E1060 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.3% C 0.137 H 317.1°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#4E1060
RGBrgb(78, 16, 96)
HSLhsl(287, 71%, 22%)
HSVhsv(287, 83%, 38%)
CMYKcmyk(18.7%, 83.3%, 0%, 62.4%)
CIE-LABlab(19.37, 40.21, -33.07)
CIE-LCHlch(19.37, 52.06, 320.56°)
OKLaboklab(32.29% 0.1004 -0.0932)
OKLCHoklch(32.29% 0.137 317.1)
XYZxyz(5.4382, 2.8350, 11.3248)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1060 #226010
analogous
#261060 #4E1060 #60104A
triadic
#4E1060 #604E10 #10604E
tetradic
#4E1060 #602610 #226010 #104A60
square
#4E1060 #602610 #226010 #104A60
split-complementary
#4E1060 #4A6010 #106026
monochromatic
#15041A #23072C #4E1060 #791994 #A321C9

Accessibility & contrast

On white

13.40
#4E1060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4E1060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1060
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1060#FFFFFF#000000##FFFFFF
##4E10601.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B62
Deuteranopia (green-blind)
#11315E
Tritanopia (blue-blind)
#4D2238
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1060;
/* rgb */ color: rgb(78, 16, 96);
/* oklch */ color: oklch(32.3% 0.137 317.1);
Tailwind
colors: {
  custom: {
    50: '#83578e',
    500: '#4e1060',
    950: '#000000',
  },
}
SCSS
$custom: #4e1060;
$custom-light: #83578e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1060",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 96
  },
  "hsl": {
    "h": 286.5,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.3229,
    "c": 0.13693,
    "h": 317.1
  },
  "luminance": 0.02835
}

Semantic roles & 50–950 ramp

primary
#4E1060
secondary
#4A9933
accent
#EE3A62
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4E1060

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

Preview Lab → · Contrast checker → · Palette generator →

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