#4E114E#4E114E

#4E114E is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.1% C 0.119 H 328.0°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#4E114E
RGBrgb(78, 17, 78)
HSLhsl(300, 64%, 19%)
HSVhsv(300, 78%, 31%)
CMYKcmyk(0%, 78.2%, 0%, 69.4%)
CIE-LABlab(18.24, 36.18, -22.79)
CIE-LCHlch(18.24, 42.76, 327.79°)
OKLaboklab(31.08% 0.1009 -0.0631)
OKLCHoklch(31.08% 0.119 328)
XYZxyz(4.7174, 2.5710, 7.4540)
Luminance0.0257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E114E #114E11
analogous
#2F114E #4E114E #4E112F
triadic
#4E114E #4E4E11 #114E4E
tetradic
#4E114E #4E2F11 #114E11 #112F4E
square
#4E114E #4E2F11 #114E11 #112F4E
split-complementary
#4E114E #2F4E11 #114E2F
monochromatic
#190519 #1C061C #4E114E #801C80 #B227B2

Accessibility & contrast

On white

13.87
#4E114E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4E114E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E114E
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E114E#FFFFFF#000000##FFFFFF
##4E114E1.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062750
Deuteranopia (green-blind)
#212F4C
Tritanopia (blue-blind)
#511A2E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e114e;
/* rgb */ color: rgb(78, 17, 78);
/* oklch */ color: oklch(31.1% 0.119 328.0);
Tailwind
colors: {
  custom: {
    50: '#825680',
    500: '#4e114e',
    950: '#000000',
  },
}
SCSS
$custom: #4e114e;
$custom-light: #825680;
$custom-dark: #000000;
JSON
{
  "hex": "#4e114e",
  "rgb": {
    "r": 78,
    "g": 17,
    "b": 78
  },
  "hsl": {
    "h": 300,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.31079,
    "c": 0.11903,
    "h": 328
  },
  "luminance": 0.02571
}

Semantic roles & 50–950 ramp

primary
#4E114E
secondary
#338733
accent
#E74141
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4E114E

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

Preview Lab → · Contrast checker → · Palette generator →

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