#4E1054#4E1054

#4E1054 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.4% C 0.126 H 324.1°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#4E1054
RGBrgb(78, 16, 84)
HSLhsl(295, 68%, 20%)
HSVhsv(295, 81%, 33%)
CMYKcmyk(7.1%, 81%, 0%, 67.1%)
CIE-LABlab(18.50, 37.73, -26.44)
CIE-LCHlch(18.50, 46.07, 324.98°)
OKLaboklab(31.4% 0.1018 -0.0737)
OKLCHoklch(31.4% 0.126 324.1)
XYZxyz(4.9273, 2.6307, 8.6340)
Luminance0.0263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1054 #165410
analogous
#2C1054 #4E1054 #541038
triadic
#4E1054 #544E10 #10544E
tetradic
#4E1054 #542C10 #165410 #103854
square
#4E1054 #542C10 #165410 #103854
split-complementary
#4E1054 #385410 #10542C
monochromatic
#18051A #1E0621 #4E1054 #7E1A87 #AD24BB

Accessibility & contrast

On white

13.76
#4E1054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1054
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1054#FFFFFF#000000##FFFFFF
##4E10541.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1054;
/* rgb */ color: rgb(78, 16, 84);
/* oklch */ color: oklch(31.4% 0.126 324.1);
Tailwind
colors: {
  custom: {
    50: '#825684',
    500: '#4e1054',
    950: '#000000',
  },
}
SCSS
$custom: #4e1054;
$custom-light: #825684;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1054",
  "rgb": {
    "r": 78,
    "g": 16,
    "b": 84
  },
  "hsl": {
    "h": 294.706,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.31395,
    "c": 0.12571,
    "h": 324.1
  },
  "luminance": 0.0263
}

Semantic roles & 50–950 ramp

primary
#4E1054
secondary
#3A8E32
accent
#EB3D4C
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4E1054

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

Preview Lab → · Contrast checker → · Palette generator →

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