#4E145C#4E145C

#4E145C is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.4% C 0.128 H 319.0°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#4E145C
RGBrgb(78, 20, 92)
HSLhsl(288, 64%, 22%)
HSVhsv(288, 78%, 36%)
CMYKcmyk(15.2%, 78.3%, 0%, 63.9%)
CIE-LABlab(19.61, 37.81, -30.03)
CIE-LCHlch(19.61, 48.29, 321.54°)
OKLaboklab(32.37% 0.0969 -0.0843)
OKLCHoklch(32.37% 0.128 319)
XYZxyz(5.3236, 2.8930, 10.4011)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E145C #225C14
analogous
#2A145C #4E145C #5C1446
triadic
#4E145C #5C4E14 #145C4E
tetradic
#4E145C #5C2A14 #225C14 #14465C
square
#4E145C #5C2A14 #225C14 #14465C
split-complementary
#4E145C #465C14 #145C2A
monochromatic
#150519 #23092A #4E145C #791F8E #A32AC1

Accessibility & contrast

On white

13.30
#4E145C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4E145C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E145C
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E145C#FFFFFF#000000##FFFFFF
##4E145C1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5E
Deuteranopia (green-blind)
#19315A
Tritanopia (blue-blind)
#4E2237
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e145c;
/* rgb */ color: rgb(78, 20, 92);
/* oklch */ color: oklch(32.4% 0.128 319.0);
Tailwind
colors: {
  custom: {
    50: '#82588b',
    500: '#4e145c',
    950: '#000000',
  },
}
SCSS
$custom: #4e145c;
$custom-light: #82588b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e145c",
  "rgb": {
    "r": 78,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 288.333,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32365,
    "c": 0.12843,
    "h": 319
  },
  "luminance": 0.02893
}

Semantic roles & 50–950 ramp

primary
#4E145C
secondary
#4A9438
accent
#E74161
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E145C

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

Preview Lab → · Contrast checker → · Palette generator →

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