#4E2050#4E2050

#4E2050 is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.1% C 0.098 H 325.9°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#4E2050
RGBrgb(78, 32, 80)
HSLhsl(298, 43%, 22%)
HSVhsv(298, 60%, 31%)
CMYKcmyk(2.5%, 60%, 0%, 68.6%)
CIE-LABlab(20.95, 29.39, -19.86)
CIE-LCHlch(20.95, 35.47, 325.96°)
OKLaboklab(33.09% 0.0809 -0.0548)
OKLCHoklch(33.09% 0.098 325.9)
XYZxyz(5.1063, 3.2322, 7.9428)
Luminance0.0323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2050 #225020
analogous
#362050 #4E2050 #50203A
triadic
#4E2050 #504E20 #20504E
tetradic
#4E2050 #503620 #225020 #203A50
square
#4E2050 #503620 #225020 #203A50
split-complementary
#4E2050 #3A5020 #205036
monochromatic
#150916 #230F24 #4E2050 #79317C #A343A7

Accessibility & contrast

On white

12.76
#4E2050 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4E2050 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2050
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2050#FFFFFF#000000##FFFFFF
##4E20501.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2F52
Deuteranopia (green-blind)
#29344F
Tritanopia (blue-blind)
#502634
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e2050;
/* rgb */ color: rgb(78, 32, 80);
/* oklch */ color: oklch(33.1% 0.098 325.9);
Tailwind
colors: {
  custom: {
    50: '#815e81',
    500: '#4e2050',
    950: '#000000',
  },
}
SCSS
$custom: #4e2050;
$custom-light: #815e81;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2050",
  "rgb": {
    "r": 78,
    "g": 32,
    "b": 80
  },
  "hsl": {
    "h": 297.5,
    "s": 42.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33087,
    "c": 0.09766,
    "h": 325.9
  },
  "luminance": 0.03232
}

Semantic roles & 50–950 ramp

primary
#4E2050
secondary
#4A8447
accent
#D3555A
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0A040A
muted
#7C797C

Preview Lab

Preview with #4E2050

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

Preview Lab → · Contrast checker → · Palette generator →

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