#4E1154#4E1154

#4E1154 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.5% C 0.125 H 324.0°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#4E1154
RGBrgb(78, 17, 84)
HSLhsl(295, 66%, 20%)
HSVhsv(295, 80%, 33%)
CMYKcmyk(7.1%, 79.8%, 0%, 67.1%)
CIE-LABlab(18.63, 37.35, -26.23)
CIE-LCHlch(18.63, 45.64, 324.92°)
OKLaboklab(31.49% 0.1008 -0.0731)
OKLCHoklch(31.49% 0.125 324)
XYZxyz(4.9424, 2.6610, 8.6391)
Luminance0.0266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1154 #175411
analogous
#2D1154 #4E1154 #541139
triadic
#4E1154 #544E11 #11544E
tetradic
#4E1154 #542D11 #175411 #113954
square
#4E1154 #542D11 #175411 #113954
split-complementary
#4E1154 #395411 #11542D
monochromatic
#180519 #1F0721 #4E1154 #7D1B87 #AD26BA

Accessibility & contrast

On white

13.71
#4E1154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#4E1154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1154
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1154#FFFFFF#000000##FFFFFF
##4E11541.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002956
Deuteranopia (green-blind)
#1D3052
Tritanopia (blue-blind)
#501D31
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4e1154;
/* rgb */ color: rgb(78, 17, 84);
/* oklch */ color: oklch(31.5% 0.125 324.0);
Tailwind
colors: {
  custom: {
    50: '#825784',
    500: '#4e1154',
    950: '#000000',
  },
}
SCSS
$custom: #4e1154;
$custom-light: #825784;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1154",
  "rgb": {
    "r": 78,
    "g": 17,
    "b": 84
  },
  "hsl": {
    "h": 294.627,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31489,
    "c": 0.12452,
    "h": 324
  },
  "luminance": 0.02661
}

Semantic roles & 50–950 ramp

primary
#4E1154
secondary
#3C8D34
accent
#E93F4E
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4E1154

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

Preview Lab → · Contrast checker → · Palette generator →

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