#4E1059#4E1059

#4E1059 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.8% C 0.130 H 321.0°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#4E1059
RGBrgb(78, 16, 89)
HSLhsl(291, 70%, 21%)
HSVhsv(291, 82%, 35%)
CMYKcmyk(12.4%, 82%, 0%, 65.1%)
CIE-LABlab(18.85, 38.74, -29.24)
CIE-LCHlch(18.85, 48.54, 322.95°)
OKLaboklab(31.76% 0.1014 -0.0819)
OKLCHoklch(31.76% 0.13 321)
XYZxyz(5.1301, 2.7118, 9.7025)
Luminance0.0271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1059 #1B5910
analogous
#291059 #4E1059 #59103F
triadic
#4E1059 #594E10 #10594E
tetradic
#4E1059 #592910 #1B5910 #103F59
square
#4E1059 #592910 #1B5910 #103F59
split-complementary
#4E1059 #3F5910 #105929
monochromatic
#17051A #210725 #4E1059 #7B198D #A923C1

Accessibility & contrast

On white

13.62
#4E1059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4E1059 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1059
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1059#FFFFFF#000000##FFFFFF
##4E10591.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5B
Deuteranopia (green-blind)
#193057
Tritanopia (blue-blind)
#4F1F34
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e1059;
/* rgb */ color: rgb(78, 16, 89);
/* oklch */ color: oklch(31.8% 0.130 321.0);
Tailwind
colors: {
  custom: {
    50: '#825688',
    500: '#4e1059',
    950: '#000000',
  },
}
SCSS
$custom: #4e1059;
$custom-light: #825688;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1059",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 89
  },
  "hsl": {
    "h": 290.959,
    "s": 69.524,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31757,
    "c": 0.13034,
    "h": 321
  },
  "luminance": 0.02712
}

Semantic roles & 50–950 ramp

primary
#4E1059
secondary
#419233
accent
#EC3B56
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4E1059

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

Preview Lab → · Contrast checker → · Palette generator →

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