#4E135C#4E135C

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

Color values

HEX#4E135C
RGBrgb(78, 19, 92)
HSLhsl(288, 66%, 22%)
HSVhsv(288, 79%, 36%)
CMYKcmyk(15.2%, 79.3%, 0%, 63.9%)
CIE-LABlab(19.47, 38.22, -30.26)
CIE-LCHlch(19.47, 48.75, 321.63°)
OKLaboklab(32.26% 0.098 -0.0849)
OKLCHoklch(32.26% 0.13 319.1)
XYZxyz(5.3063, 2.8584, 10.3954)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E135C #215C13
analogous
#2A135C #4E135C #5C1346
triadic
#4E135C #5C4E13 #135C4E
tetradic
#4E135C #5C2A13 #215C13 #13465C
square
#4E135C #5C2A13 #215C13 #13465C
split-complementary
#4E135C #465C13 #135C2A
monochromatic
#160519 #230929 #4E135C #791D8F #A428C1

Accessibility & contrast

On white

13.36
#4E135C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4E135C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E135C
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E135C#FFFFFF#000000##FFFFFF
##4E135C1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5E
Deuteranopia (green-blind)
#18315A
Tritanopia (blue-blind)
#4E2236
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e135c;
/* rgb */ color: rgb(78, 19, 92);
/* oklch */ color: oklch(32.3% 0.130 319.1);
Tailwind
colors: {
  custom: {
    50: '#82588b',
    500: '#4e135c',
    950: '#000000',
  },
}
SCSS
$custom: #4e135c;
$custom-light: #82588b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e135c",
  "rgb": {
    "r": 78,
    "g": 19,
    "b": 92
  },
  "hsl": {
    "h": 288.493,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32263,
    "c": 0.12967,
    "h": 319.1
  },
  "luminance": 0.02858
}

Semantic roles & 50–950 ramp

primary
#4E135C
secondary
#499437
accent
#E93F60
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E135C

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

Preview Lab → · Contrast checker → · Palette generator →

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