#5E1054#5E1054

#5E1054 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.2% C 0.134 H 334.1°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#5E1054
RGBrgb(94, 16, 84)
HSLhsl(308, 71%, 22%)
HSVhsv(308, 83%, 37%)
CMYKcmyk(0%, 83%, 10.6%, 63.1%)
CIE-LABlab(21.55, 41.60, -21.42)
CIE-LCHlch(21.55, 46.79, 332.76°)
OKLaboklab(34.15% 0.1209 -0.0587)
OKLCHoklch(34.15% 0.134 334.1)
XYZxyz(6.4017, 3.3909, 8.7031)
Luminance0.0339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1054 #105E1A
analogous
#41105E #5E1054 #5E102D
triadic
#5E1054 #545E10 #10545E
tetradic
#5E1054 #5E4110 #105E1A #102D5E
square
#5E1054 #5E4110 #105E1A #102D5E
split-complementary
#5E1054 #2D5E10 #105E41
monochromatic
#1A0417 #2A0725 #5E1054 #921983 #C722B1

Accessibility & contrast

On white

12.51
#5E1054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5E1054 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1054
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1054#FFFFFF#000000##FFFFFF
##5E10541.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2C56
Deuteranopia (green-blind)
#2C3852
Tritanopia (blue-blind)
#631831
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1054;
/* rgb */ color: rgb(94, 16, 84);
/* oklch */ color: oklch(34.2% 0.134 334.1);
Tailwind
colors: {
  custom: {
    50: '#8f5984',
    500: '#5e1054',
    950: '#000000',
  },
}
SCSS
$custom: #5e1054;
$custom-light: #8f5984;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1054",
  "rgb": {
    "r": 94,
    "g": 16,
    "b": 84
  },
  "hsl": {
    "h": 307.692,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.34153,
    "c": 0.13437,
    "h": 334.1
  },
  "luminance": 0.0339
}

Semantic roles & 50–950 ramp

primary
#5E1054
secondary
#339740
accent
#EE513A
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E1054

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

Preview Lab → · Contrast checker → · Palette generator →

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