#4E2059#4E2059

#4E2059 is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.7% C 0.107 H 319.5°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#4E2059
RGBrgb(78, 32, 89)
HSLhsl(288, 47%, 24%)
HSVhsv(288, 64%, 35%)
CMYKcmyk(12.4%, 64%, 0%, 65.1%)
CIE-LABlab(21.48, 31.37, -25.04)
CIE-LCHlch(21.48, 40.14, 321.40°)
OKLaboklab(33.65% 0.0817 -0.0698)
OKLCHoklch(33.65% 0.107 319.5)
XYZxyz(5.4613, 3.3742, 9.8129)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2059 #2B5920
analogous
#312059 #4E2059 #592047
triadic
#4E2059 #594E20 #20594E
tetradic
#4E2059 #593120 #2B5920 #204759
square
#4E2059 #593120 #2B5920 #204759
split-complementary
#4E2059 #475920 #205931
monochromatic
#140817 #27102C #4E2059 #753086 #9D40B3

Accessibility & contrast

On white

12.54
#4E2059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#4E2059 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2059
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2059#FFFFFF#000000##FFFFFF
##4E20591.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13305B
Deuteranopia (green-blind)
#243558
Tritanopia (blue-blind)
#4E2939
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e2059;
/* rgb */ color: rgb(78, 32, 89);
/* oklch */ color: oklch(33.7% 0.107 319.5);
Tailwind
colors: {
  custom: {
    50: '#815e88',
    500: '#4e2059',
    950: '#000000',
  },
}
SCSS
$custom: #4e2059;
$custom-light: #815e88;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2059",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 89
  },
  "hsl": {
    "h": 288.421,
    "s": 47.107,
    "l": 23.725
  },
  "oklch": {
    "l": 0.3365,
    "c": 0.10743,
    "h": 319.5
  },
  "luminance": 0.03374
}

Semantic roles & 50–950 ramp

primary
#4E2059
secondary
#558D47
accent
#D7516B
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B050B
muted
#7C797C

Preview Lab

Preview with #4E2059

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

Preview Lab → · Contrast checker → · Palette generator →

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