#4E135A#4E135A

#4E135A is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.1% C 0.128 H 320.2°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#4E135A
RGBrgb(78, 19, 90)
HSLhsl(290, 65%, 21%)
HSVhsv(290, 79%, 35%)
CMYKcmyk(13.3%, 78.9%, 0%, 64.7%)
CIE-LABlab(19.32, 37.80, -29.15)
CIE-LCHlch(19.32, 47.73, 322.36°)
OKLaboklab(32.12% 0.0982 -0.0817)
OKLCHoklch(32.12% 0.128 320.2)
XYZxyz(5.2200, 2.8239, 9.9410)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E135A #1F5A13
analogous
#2B135A #4E135A #5A1343
triadic
#4E135A #5A4E13 #135A4E
tetradic
#4E135A #5A2B13 #1F5A13 #13435A
square
#4E135A #5A2B13 #1F5A13 #13435A
split-complementary
#4E135A #435A13 #135A2B
monochromatic
#160519 #220827 #4E135A #7A1E8D #A628BF

Accessibility & contrast

On white

13.42
#4E135A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4E135A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E135A
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E135A#FFFFFF#000000##FFFFFF
##4E135A1.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5C
Deuteranopia (green-blind)
#1A3158
Tritanopia (blue-blind)
#4E2135
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e135a;
/* rgb */ color: rgb(78, 19, 90);
/* oklch */ color: oklch(32.1% 0.128 320.2);
Tailwind
colors: {
  custom: {
    50: '#825889',
    500: '#4e135a',
    950: '#000000',
  },
}
SCSS
$custom: #4e135a;
$custom-light: #825889;
$custom-dark: #000000;
JSON
{
  "hex": "#4e135a",
  "rgb": {
    "r": 78,
    "g": 19,
    "b": 90
  },
  "hsl": {
    "h": 289.859,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32116,
    "c": 0.12773,
    "h": 320.2
  },
  "luminance": 0.02824
}

Semantic roles & 50–950 ramp

primary
#4E135A
secondary
#469237
accent
#E8405C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E135A

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

Preview Lab → · Contrast checker → · Palette generator →

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