#4E1156#4E1156

#4E1156 is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.6% C 0.126 H 322.8°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#4E1156
RGBrgb(78, 17, 86)
HSLhsl(293, 67%, 20%)
HSVhsv(293, 80%, 34%)
CMYKcmyk(9.3%, 80.2%, 0%, 66.3%)
CIE-LABlab(18.77, 37.75, -27.36)
CIE-LCHlch(18.77, 46.63, 324.07°)
OKLaboklab(31.63% 0.1006 -0.0764)
OKLCHoklch(31.63% 0.126 322.8)
XYZxyz(5.0219, 2.6928, 9.0575)
Luminance0.0269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1156 #195611
analogous
#2B1156 #4E1156 #56113C
triadic
#4E1156 #564E11 #11564E
tetradic
#4E1156 #562B11 #195611 #113C56
square
#4E1156 #562B11 #195611 #113C56
split-complementary
#4E1156 #3C5611 #11562B
monochromatic
#17051A #200723 #4E1156 #7C1B89 #AB25BC

Accessibility & contrast

On white

13.65
#4E1156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4E1156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1156
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1156#FFFFFF#000000##FFFFFF
##4E11561.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002958
Deuteranopia (green-blind)
#1C3054
Tritanopia (blue-blind)
#4F1E33
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e1156;
/* rgb */ color: rgb(78, 17, 86);
/* oklch */ color: oklch(31.6% 0.126 322.8);
Tailwind
colors: {
  custom: {
    50: '#825786',
    500: '#4e1156',
    950: '#000000',
  },
}
SCSS
$custom: #4e1156;
$custom-light: #825786;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1156",
  "rgb": {
    "r": 78,
    "g": 17,
    "b": 86
  },
  "hsl": {
    "h": 293.043,
    "s": 66.99,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31631,
    "c": 0.12638,
    "h": 322.8
  },
  "luminance": 0.02692
}

Semantic roles & 50–950 ramp

primary
#4E1156
secondary
#3E8F34
accent
#EA3E52
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4E1156

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

Preview Lab → · Contrast checker → · Palette generator →

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