#5E115A#5E115A

#5E115A is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.6% C 0.138 H 330.4°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#5E115A
RGBrgb(94, 17, 90)
HSLhsl(303, 69%, 22%)
HSVhsv(303, 82%, 37%)
CMYKcmyk(0%, 81.9%, 4.3%, 63.1%)
CIE-LABlab(22.01, 42.30, -24.69)
CIE-LCHlch(22.01, 48.98, 329.73°)
OKLaboklab(34.6% 0.1201 -0.0682)
OKLCHoklch(34.6% 0.138 330.4)
XYZxyz(6.6620, 3.5193, 9.9993)
Luminance0.0352 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E115A #115E15
analogous
#3C115E #5E115A #5E1134
triadic
#5E115A #5A5E11 #115A5E
tetradic
#5E115A #5E3C11 #115E15 #11345E
square
#5E115A #5E3C11 #115E15 #11345E
split-complementary
#5E115A #345E11 #115E3C
monochromatic
#1A0519 #2A0828 #5E115A #921A8C #C624BD

Accessibility & contrast

On white

12.33
#5E115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5E115A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E115A
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E115A#FFFFFF#000000##FFFFFF
##5E115A1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072E5C
Deuteranopia (green-blind)
#293858
Tritanopia (blue-blind)
#621C35
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e115a;
/* rgb */ color: rgb(94, 17, 90);
/* oklch */ color: oklch(34.6% 0.138 330.4);
Tailwind
colors: {
  custom: {
    50: '#8f5989',
    500: '#5e115a',
    950: '#000000',
  },
}
SCSS
$custom: #5e115a;
$custom-light: #8f5989;
$custom-dark: #000000;
JSON
{
  "hex": "#5e115a",
  "rgb": {
    "r": 94,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 303.117,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.34603,
    "c": 0.13812,
    "h": 330.4
  },
  "luminance": 0.03519
}

Semantic roles & 50–950 ramp

primary
#5E115A
secondary
#349739
accent
#EC453C
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E115A

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

Preview Lab → · Contrast checker → · Palette generator →

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