#5E1153#5E1153

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

Color values

HEX#5E1153
RGBrgb(94, 17, 83)
HSLhsl(309, 69%, 22%)
HSVhsv(309, 82%, 37%)
CMYKcmyk(0%, 81.9%, 11.7%, 63.1%)
CIE-LABlab(21.60, 41.11, -20.66)
CIE-LCHlch(21.60, 46.01, 333.32°)
OKLaboklab(34.17% 0.1199 -0.0565)
OKLCHoklch(34.17% 0.133 334.7)
XYZxyz(6.3780, 3.4057, 8.5034)
Luminance0.0340 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1153 #115E1C
analogous
#43115E #5E1153 #5E112D
triadic
#5E1153 #535E11 #11535E
tetradic
#5E1153 #5E4311 #115E1C #112D5E
square
#5E1153 #5E4311 #115E1C #112D5E
split-complementary
#5E1153 #2D5E11 #115E43
monochromatic
#1A0517 #2A0825 #5E1153 #921A81 #C624AF

Accessibility & contrast

On white

12.49
#5E1153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1153
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1153#FFFFFF#000000##FFFFFF
##5E11531.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102D55
Deuteranopia (green-blind)
#2D3851
Tritanopia (blue-blind)
#631831
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1153;
/* rgb */ color: rgb(94, 17, 83);
/* oklch */ color: oklch(34.2% 0.133 334.7);
Tailwind
colors: {
  custom: {
    50: '#8f5983',
    500: '#5e1153',
    950: '#000000',
  },
}
SCSS
$custom: #5e1153;
$custom-light: #8f5983;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1153",
  "rgb": {
    "r": 94,
    "g": 17,
    "b": 83
  },
  "hsl": {
    "h": 308.571,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.34174,
    "c": 0.13252,
    "h": 334.7
  },
  "luminance": 0.03405
}

Semantic roles & 50–950 ramp

primary
#5E1153
secondary
#349742
accent
#EC553C
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5E1153

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

Preview Lab → · Contrast checker → · Palette generator →

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