#4E135E#4E135E

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

Color values

HEX#4E135E
RGBrgb(78, 19, 94)
HSLhsl(287, 66%, 22%)
HSVhsv(287, 80%, 37%)
CMYKcmyk(17%, 79.8%, 0%, 63.1%)
CIE-LABlab(19.61, 38.65, -31.35)
CIE-LCHlch(19.61, 49.77, 320.95°)
OKLaboklab(32.41% 0.0978 -0.0881)
OKLCHoklch(32.41% 0.132 318)
XYZxyz(5.3949, 2.8938, 10.8619)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E135E #235E13
analogous
#29135E #4E135E #5E1349
triadic
#4E135E #5E4E13 #135E4E
tetradic
#4E135E #5E2913 #235E13 #13495E
square
#4E135E #5E2913 #235E13 #13495E
split-complementary
#4E135E #495E13 #135E29
monochromatic
#150519 #24092B #4E135E #781D91 #A228C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E135E#FFFFFF#000000##FFFFFF
##4E135E1.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)
#002C60
Deuteranopia (green-blind)
#16315C
Tritanopia (blue-blind)
#4D2338
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e135e;
/* rgb */ color: rgb(78, 19, 94);
/* oklch */ color: oklch(32.4% 0.132 318.0);
Tailwind
colors: {
  custom: {
    50: '#83588c',
    500: '#4e135e',
    950: '#000000',
  },
}
SCSS
$custom: #4e135e;
$custom-light: #83588c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e135e",
  "rgb": {
    "r": 78,
    "g": 19,
    "b": 94
  },
  "hsl": {
    "h": 287.2,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32414,
    "c": 0.13162,
    "h": 318
  },
  "luminance": 0.02894
}

Semantic roles & 50–950 ramp

primary
#4E135E
secondary
#4B9637
accent
#E93F63
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E135E

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

Preview Lab → · Contrast checker → · Palette generator →

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