#5E1155#5E1155

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

Color values

HEX#5E1155
RGBrgb(94, 17, 85)
HSLhsl(307, 69%, 22%)
HSVhsv(307, 82%, 37%)
CMYKcmyk(0%, 81.9%, 9.6%, 63.1%)
CIE-LABlab(21.72, 41.44, -21.82)
CIE-LCHlch(21.72, 46.84, 332.23°)
OKLaboklab(34.29% 0.12 -0.0599)
OKLCHoklch(34.29% 0.134 333.5)
XYZxyz(6.4563, 3.4370, 8.9159)
Luminance0.0344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1155 #115E1A
analogous
#41115E #5E1155 #5E112F
triadic
#5E1155 #555E11 #11555E
tetradic
#5E1155 #5E4111 #115E1A #112F5E
square
#5E1155 #5E4111 #115E1A #112F5E
split-complementary
#5E1155 #2F5E11 #115E41
monochromatic
#1A0517 #2A0826 #5E1155 #921A84 #C624B3

Accessibility & contrast

On white

12.45
#5E1155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5E1155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1155
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1155#FFFFFF#000000##FFFFFF
##5E11551.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2D57
Deuteranopia (green-blind)
#2C3853
Tritanopia (blue-blind)
#631932
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1155;
/* rgb */ color: rgb(94, 17, 85);
/* oklch */ color: oklch(34.3% 0.134 333.5);
Tailwind
colors: {
  custom: {
    50: '#8f5985',
    500: '#5e1155',
    950: '#000000',
  },
}
SCSS
$custom: #5e1155;
$custom-light: #8f5985;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1155",
  "rgb": {
    "r": 94,
    "g": 17,
    "b": 85
  },
  "hsl": {
    "h": 307.013,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.34293,
    "c": 0.13409,
    "h": 333.5
  },
  "luminance": 0.03436
}

Semantic roles & 50–950 ramp

primary
#5E1155
secondary
#349740
accent
#EC503C
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E1155

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

Preview Lab → · Contrast checker → · Palette generator →

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