#4E136D#4E136D

#4E136D is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.146 H 310.4°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#4E136D
RGBrgb(78, 19, 109)
HSLhsl(279, 70%, 25%)
HSVhsv(279, 83%, 43%)
CMYKcmyk(28.4%, 82.6%, 0%, 57.3%)
CIE-LABlab(20.79, 41.99, -39.31)
CIE-LCHlch(20.79, 57.52, 316.89°)
OKLaboklab(33.61% 0.095 -0.1115)
OKLCHoklch(33.61% 0.146 310.4)
XYZxyz(6.1345, 3.1897, 14.7575)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E136D #326D13
analogous
#21136D #4E136D #6D135F
triadic
#4E136D #6D4E13 #136D4E
tetradic
#4E136D #6D2113 #326D13 #135F6D
square
#4E136D #6D2113 #326D13 #135F6D
split-complementary
#4E136D #5F6D13 #136D21
monochromatic
#13051A #290A39 #4E136D #731CA1 #9925D5

Accessibility & contrast

On white

12.82
#4E136D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4E136D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E136D
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E136D#FFFFFF#000000##FFFFFF
##4E136D1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306F
Deuteranopia (green-blind)
#00336B
Tritanopia (blue-blind)
#4A2940
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e136d;
/* rgb */ color: rgb(78, 19, 109);
/* oklch */ color: oklch(33.6% 0.146 310.4);
Tailwind
colors: {
  custom: {
    50: '#845997',
    500: '#4e136d',
    950: '#000000',
  },
}
SCSS
$custom: #4e136d;
$custom-light: #845997;
$custom-dark: #000000;
JSON
{
  "hex": "#4e136d",
  "rgb": {
    "r": 78,
    "g": 19,
    "b": 109
  },
  "hsl": {
    "h": 279.333,
    "s": 70.313,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33613,
    "c": 0.14644,
    "h": 310.4
  },
  "luminance": 0.0319
}

Semantic roles & 50–950 ramp

primary
#4E136D
secondary
#5DA438
accent
#ED3B78
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4E136D

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

Preview Lab → · Contrast checker → · Palette generator →

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