#4E145F#4E145F

#4E145F is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.6% C 0.131 H 317.3°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#4E145F
RGBrgb(78, 20, 95)
HSLhsl(286, 65%, 23%)
HSVhsv(286, 79%, 37%)
CMYKcmyk(17.9%, 78.9%, 0%, 62.7%)
CIE-LABlab(19.83, 38.46, -31.67)
CIE-LCHlch(19.83, 49.82, 320.53°)
OKLaboklab(32.59% 0.0966 -0.0891)
OKLCHoklch(32.59% 0.131 317.3)
XYZxyz(5.4573, 2.9465, 11.1055)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E145F #255F14
analogous
#29145F #4E145F #5F144A
triadic
#4E145F #5F4E14 #145F4E
tetradic
#4E145F #5F2914 #255F14 #144A5F
square
#4E145F #5F2914 #255F14 #144A5F
split-complementary
#4E145F #4A5F14 #145F29
monochromatic
#150519 #24092C #4E145F #781F92 #A129C4

Accessibility & contrast

On white

13.21
#4E145F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4E145F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E145F
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E145F#FFFFFF#000000##FFFFFF
##4E145F1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C61
Deuteranopia (green-blind)
#16325D
Tritanopia (blue-blind)
#4D2438
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e145f;
/* rgb */ color: rgb(78, 20, 95);
/* oklch */ color: oklch(32.6% 0.131 317.3);
Tailwind
colors: {
  custom: {
    50: '#83588d',
    500: '#4e145f',
    950: '#000000',
  },
}
SCSS
$custom: #4e145f;
$custom-light: #83588d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e145f",
  "rgb": {
    "r": 78,
    "g": 20,
    "b": 95
  },
  "hsl": {
    "h": 286.4,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32589,
    "c": 0.13139,
    "h": 317.3
  },
  "luminance": 0.02946
}

Semantic roles & 50–950 ramp

primary
#4E145F
secondary
#4E9738
accent
#E84066
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E145F

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

Preview Lab → · Contrast checker → · Palette generator →

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