#4E115B#4E115B

#4E115B is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.0% C 0.131 H 319.8°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#4E115B
RGBrgb(78, 17, 91)
HSLhsl(289, 69%, 21%)
HSVhsv(289, 81%, 36%)
CMYKcmyk(14.3%, 81.3%, 0%, 64.3%)
CIE-LABlab(19.12, 38.78, -30.14)
CIE-LCHlch(19.12, 49.12, 322.15°)
OKLaboklab(32% 0.1002 -0.0846)
OKLCHoklch(32% 0.131 319.8)
XYZxyz(5.2304, 2.7762, 10.1559)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E115B #1E5B11
analogous
#29115B #4E115B #5B1143
triadic
#4E115B #5B4E11 #115B4E
tetradic
#4E115B #5B2911 #1E5B11 #11435B
square
#4E115B #5B2911 #1E5B11 #11435B
split-complementary
#4E115B #435B11 #115B29
monochromatic
#16051A #220727 #4E115B #7A1B8F #A624C2

Accessibility & contrast

On white

13.50
#4E115B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4E115B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E115B
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E115B#FFFFFF#000000##FFFFFF
##4E115B1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5D
Deuteranopia (green-blind)
#183059
Tritanopia (blue-blind)
#4E2035
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e115b;
/* rgb */ color: rgb(78, 17, 91);
/* oklch */ color: oklch(32.0% 0.131 319.8);
Tailwind
colors: {
  custom: {
    50: '#83578a',
    500: '#4e115b',
    950: '#000000',
  },
}
SCSS
$custom: #4e115b;
$custom-light: #83578a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e115b",
  "rgb": {
    "r": 78,
    "g": 17,
    "b": 91
  },
  "hsl": {
    "h": 289.459,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31997,
    "c": 0.13109,
    "h": 319.8
  },
  "luminance": 0.02776
}

Semantic roles & 50–950 ramp

primary
#4E115B
secondary
#459434
accent
#EB3C5B
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4E115B

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

Preview Lab → · Contrast checker → · Palette generator →

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