#4E136A#4E136A

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

Color values

HEX#4E136A
RGBrgb(78, 19, 106)
HSLhsl(281, 70%, 25%)
HSVhsv(281, 82%, 42%)
CMYKcmyk(26.4%, 82.1%, 0%, 58.4%)
CIE-LABlab(20.54, 41.31, -37.75)
CIE-LCHlch(20.54, 55.96, 317.58°)
OKLaboklab(33.36% 0.0956 -0.1069)
OKLCHoklch(33.36% 0.143 311.8)
XYZxyz(5.9758, 3.1262, 13.9215)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E136A #2F6A13
analogous
#23136A #4E136A #6A135B
triadic
#4E136A #6A4E13 #136A4E
tetradic
#4E136A #6A2313 #2F6A13 #135B6A
square
#4E136A #6A2313 #2F6A13 #135B6A
split-complementary
#4E136A #5B6A13 #136A23
monochromatic
#13051A #280A36 #4E136A #741C9E #9A26D2

Accessibility & contrast

On white

12.92
#4E136A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E136A
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E136A#FFFFFF#000000##FFFFFF
##4E136A1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#023368
Tritanopia (blue-blind)
#4A283E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e136a;
/* rgb */ color: rgb(78, 19, 106);
/* oklch */ color: oklch(33.4% 0.143 311.8);
Tailwind
colors: {
  custom: {
    50: '#835995',
    500: '#4e136a',
    950: '#000000',
  },
}
SCSS
$custom: #4e136a;
$custom-light: #835995;
$custom-dark: #000000;
JSON
{
  "hex": "#4e136a",
  "rgb": {
    "r": 78,
    "g": 19,
    "b": 106
  },
  "hsl": {
    "h": 280.69,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33363,
    "c": 0.14346,
    "h": 311.8
  },
  "luminance": 0.03126
}

Semantic roles & 50–950 ramp

primary
#4E136A
secondary
#5AA138
accent
#EC3B74
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E136A

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

Preview Lab → · Contrast checker → · Palette generator →

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