#4E145E#4E145E

#4E145E is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.130 H 317.9°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#4E145E
RGBrgb(78, 20, 94)
HSLhsl(287, 65%, 22%)
HSVhsv(287, 79%, 37%)
CMYKcmyk(17%, 78.7%, 0%, 63.1%)
CIE-LABlab(19.75, 38.24, -31.13)
CIE-LCHlch(19.75, 49.31, 320.86°)
OKLaboklab(32.51% 0.0967 -0.0875)
OKLCHoklch(32.51% 0.13 317.9)
XYZxyz(5.4121, 2.9284, 10.8677)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E145E #245E14
analogous
#29145E #4E145E #5E1449
triadic
#4E145E #5E4E14 #145E4E
tetradic
#4E145E #5E2914 #245E14 #14495E
square
#4E145E #5E2914 #245E14 #14495E
split-complementary
#4E145E #495E14 #145E29
monochromatic
#150519 #24092C #4E145E #781F90 #A229C3

Accessibility & contrast

On white

13.24
#4E145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E145E
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E145E#FFFFFF#000000##FFFFFF
##4E145E1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C60
Deuteranopia (green-blind)
#17325C
Tritanopia (blue-blind)
#4D2338
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e145e;
/* rgb */ color: rgb(78, 20, 94);
/* oklch */ color: oklch(32.5% 0.130 317.9);
Tailwind
colors: {
  custom: {
    50: '#82588c',
    500: '#4e145e',
    950: '#000000',
  },
}
SCSS
$custom: #4e145e;
$custom-light: #82588c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e145e",
  "rgb": {
    "r": 78,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 287.027,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32514,
    "c": 0.1304,
    "h": 317.9
  },
  "luminance": 0.02928
}

Semantic roles & 50–950 ramp

primary
#4E145E
secondary
#4C9638
accent
#E84064
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E145E

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

Preview Lab → · Contrast checker → · Palette generator →

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