#5E1765#5E1765

#5E1765 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.9% C 0.141 H 324.0°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#5E1765
RGBrgb(94, 23, 101)
HSLhsl(295, 63%, 24%)
HSVhsv(295, 77%, 40%)
CMYKcmyk(6.9%, 77.2%, 0%, 60.4%)
CIE-LABlab(23.45, 42.23, -29.67)
CIE-LCHlch(23.45, 51.61, 324.91°)
OKLaboklab(35.85% 0.1139 -0.0827)
OKLCHoklch(35.85% 0.141 324)
XYZxyz(7.2713, 3.9325, 12.6855)
Luminance0.0393 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1765 #1E6517
analogous
#371765 #5E1765 #651745
triadic
#5E1765 #655E17 #17655E
tetradic
#5E1765 #653717 #1E6517 #174565
square
#5E1765 #653717 #1E6517 #174565
split-complementary
#5E1765 #456517 #176537
monochromatic
#170619 #300C33 #5E1765 #8C2297 #BB2EC9

Accessibility & contrast

On white

11.76
#5E1765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5E1765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1765
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1765#FFFFFF#000000##FFFFFF
##5E17651.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003267
Deuteranopia (green-blind)
#253B63
Tritanopia (blue-blind)
#60253D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e1765;
/* rgb */ color: rgb(94, 23, 101);
/* oklch */ color: oklch(35.9% 0.141 324.0);
Tailwind
colors: {
  custom: {
    50: '#8f5c91',
    500: '#5e1765',
    950: '#000000',
  },
}
SCSS
$custom: #5e1765;
$custom-light: #8f5c91;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1765",
  "rgb": {
    "r": 94,
    "g": 23,
    "b": 101
  },
  "hsl": {
    "h": 294.615,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35851,
    "c": 0.14079,
    "h": 324
  },
  "luminance": 0.03932
}

Semantic roles & 50–950 ramp

primary
#5E1765
secondary
#459B3C
accent
#E64251
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040D
muted
#7E797D

Preview Lab

Preview with #5E1765

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

Preview Lab → · Contrast checker → · Palette generator →

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