#4E115E#4E115E

#4E115E is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.2% C 0.134 H 318.1°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#4E115E
RGBrgb(78, 17, 94)
HSLhsl(288, 69%, 22%)
HSVhsv(288, 82%, 37%)
CMYKcmyk(17%, 81.9%, 0%, 63.1%)
CIE-LABlab(19.35, 39.42, -31.79)
CIE-LCHlch(19.35, 50.64, 321.12°)
OKLaboklab(32.22% 0.0998 -0.0894)
OKLCHoklch(32.22% 0.134 318.1)
XYZxyz(5.3624, 2.8290, 10.8511)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E115E #215E11
analogous
#28115E #4E115E #5E1148
triadic
#4E115E #5E4E11 #115E4E
tetradic
#4E115E #5E2811 #215E11 #11485E
square
#4E115E #5E2811 #215E11 #11485E
split-complementary
#4E115E #485E11 #115E28
monochromatic
#16051A #23082A #4E115E #791A92 #A424C6

Accessibility & contrast

On white

13.41
#4E115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E115E
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E115E#FFFFFF#000000##FFFFFF
##4E115E1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#15315C
Tritanopia (blue-blind)
#4E2237
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e115e;
/* rgb */ color: rgb(78, 17, 94);
/* oklch */ color: oklch(32.2% 0.134 318.1);
Tailwind
colors: {
  custom: {
    50: '#83578c',
    500: '#4e115e',
    950: '#000000',
  },
}
SCSS
$custom: #4e115e;
$custom-light: #83578c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e115e",
  "rgb": {
    "r": 78,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 287.532,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32224,
    "c": 0.13394,
    "h": 318.1
  },
  "luminance": 0.02829
}

Semantic roles & 50–950 ramp

primary
#4E115E
secondary
#499734
accent
#EC3C60
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4E115E

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

Preview Lab → · Contrast checker → · Palette generator →

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