#4E145D#4E145D

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

Color values

HEX#4E145D
RGBrgb(78, 20, 93)
HSLhsl(288, 65%, 22%)
HSVhsv(288, 78%, 36%)
CMYKcmyk(16.1%, 78.5%, 0%, 63.5%)
CIE-LABlab(19.68, 38.03, -30.58)
CIE-LCHlch(19.68, 48.80, 321.20°)
OKLaboklab(32.44% 0.0968 -0.0859)
OKLCHoklch(32.44% 0.129 318.4)
XYZxyz(5.3676, 2.9106, 10.6329)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E145D #235D14
analogous
#29145D #4E145D #5D1448
triadic
#4E145D #5D4E14 #145D4E
tetradic
#4E145D #5D2914 #235D14 #14485D
square
#4E145D #5D2914 #235D14 #14485D
split-complementary
#4E145D #485D14 #145D29
monochromatic
#150519 #24092B #4E145D #781F8F #A22AC2

Accessibility & contrast

On white

13.27
#4E145D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E145D
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E145D#FFFFFF#000000##FFFFFF
##4E145D1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5F
Deuteranopia (green-blind)
#18315B
Tritanopia (blue-blind)
#4E2337
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e145d;
/* rgb */ color: rgb(78, 20, 93);
/* oklch */ color: oklch(32.4% 0.129 318.4);
Tailwind
colors: {
  custom: {
    50: '#82588b',
    500: '#4e145d',
    950: '#000000',
  },
}
SCSS
$custom: #4e145d;
$custom-light: #82588b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e145d",
  "rgb": {
    "r": 78,
    "g": 20,
    "b": 93
  },
  "hsl": {
    "h": 287.671,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32439,
    "c": 0.12942,
    "h": 318.4
  },
  "luminance": 0.0291
}

Semantic roles & 50–950 ramp

primary
#4E145D
secondary
#4B9538
accent
#E84063
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E145D

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

Preview Lab → · Contrast checker → · Palette generator →

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