#4E136B#4E136B

#4E136B is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.4% C 0.144 H 311.3°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#4E136B
RGBrgb(78, 19, 107)
HSLhsl(280, 70%, 25%)
HSVhsv(280, 82%, 42%)
CMYKcmyk(27.1%, 82.2%, 0%, 58%)
CIE-LABlab(20.62, 41.54, -38.27)
CIE-LCHlch(20.62, 56.48, 317.34°)
OKLaboklab(33.45% 0.0954 -0.1084)
OKLCHoklch(33.45% 0.144 311.3)
XYZxyz(6.0281, 3.1471, 14.1970)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E136B #306B13
analogous
#22136B #4E136B #6B135C
triadic
#4E136B #6B4E13 #136B4E
tetradic
#4E136B #6B2213 #306B13 #135C6B
square
#4E136B #6B2213 #306B13 #135C6B
split-complementary
#4E136B #5C6B13 #136B22
monochromatic
#13051A #280A37 #4E136B #741C9F #9A25D3

Accessibility & contrast

On white

12.89
#4E136B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4E136B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E136B
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E136B#FFFFFF#000000##FFFFFF
##4E136B1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6D
Deuteranopia (green-blind)
#003369
Tritanopia (blue-blind)
#4A293F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e136b;
/* rgb */ color: rgb(78, 19, 107);
/* oklch */ color: oklch(33.4% 0.144 311.3);
Tailwind
colors: {
  custom: {
    50: '#835996',
    500: '#4e136b',
    950: '#000000',
  },
}
SCSS
$custom: #4e136b;
$custom-light: #835996;
$custom-dark: #000000;
JSON
{
  "hex": "#4e136b",
  "rgb": {
    "r": 78,
    "g": 19,
    "b": 107
  },
  "hsl": {
    "h": 280.227,
    "s": 69.841,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33446,
    "c": 0.14445,
    "h": 311.3
  },
  "luminance": 0.03147
}

Semantic roles & 50–950 ramp

primary
#4E136B
secondary
#5BA238
accent
#ED3B76
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E136B

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

Preview Lab → · Contrast checker → · Palette generator →

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