#5E1455#5E1455

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

Color values

HEX#5E1455
RGBrgb(94, 20, 85)
HSLhsl(307, 65%, 22%)
HSVhsv(307, 79%, 37%)
CMYKcmyk(0%, 78.7%, 9.6%, 63.1%)
CIE-LABlab(22.08, 40.41, -21.26)
CIE-LCHlch(22.08, 45.66, 332.26°)
OKLaboklab(34.55% 0.117 -0.0583)
OKLCHoklch(34.55% 0.131 333.5)
XYZxyz(6.5060, 3.5364, 8.9325)
Luminance0.0354 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1455 #145E1D
analogous
#42145E #5E1455 #5E1430
triadic
#5E1455 #555E14 #14555E
tetradic
#5E1455 #5E4214 #145E1D #14305E
square
#5E1455 #5E4214 #145E1D #14305E
split-complementary
#5E1455 #305E14 #145E42
monochromatic
#190517 #2C0927 #5E1455 #901F83 #C329B0

Accessibility & contrast

On white

12.30
#5E1455 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5E1455 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1455
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1455#FFFFFF#000000##FFFFFF
##5E14551.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112E57
Deuteranopia (green-blind)
#2D3953
Tritanopia (blue-blind)
#631B33
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5e1455;
/* rgb */ color: rgb(94, 20, 85);
/* oklch */ color: oklch(34.6% 0.131 333.5);
Tailwind
colors: {
  custom: {
    50: '#8f5a85',
    500: '#5e1455',
    950: '#000000',
  },
}
SCSS
$custom: #5e1455;
$custom-light: #8f5a85;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1455",
  "rgb": {
    "r": 94,
    "g": 20,
    "b": 85
  },
  "hsl": {
    "h": 307.297,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.34552,
    "c": 0.13067,
    "h": 333.5
  },
  "luminance": 0.03536
}

Semantic roles & 50–950 ramp

primary
#5E1455
secondary
#389644
accent
#E85440
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5E1455

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

Preview Lab → · Contrast checker → · Palette generator →

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