#5E1165#5E1165

#5E1165 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.3% C 0.147 H 324.3°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#5E1165
RGBrgb(94, 17, 101)
HSLhsl(295, 71%, 23%)
HSVhsv(295, 83%, 40%)
CMYKcmyk(6.9%, 83.2%, 0%, 60.4%)
CIE-LABlab(22.73, 44.30, -30.82)
CIE-LCHlch(22.73, 53.97, 325.17°)
OKLaboklab(35.34% 0.1196 -0.086)
OKLCHoklch(35.34% 0.147 324.3)
XYZxyz(7.1653, 3.7206, 12.6501)
Luminance0.0372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1165 #186511
analogous
#341165 #5E1165 #651142
triadic
#5E1165 #655E11 #11655E
tetradic
#5E1165 #653411 #186511 #114265
square
#5E1165 #653411 #186511 #114265
split-complementary
#5E1165 #426511 #116534
monochromatic
#18041A #2D0831 #5E1165 #8F1A99 #C023CE

Accessibility & contrast

On white

12.04
#5E1165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#5E1165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1165
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1165#FFFFFF#000000##FFFFFF
##5E11651.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003167
Deuteranopia (green-blind)
#223963
Tritanopia (blue-blind)
#60223B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5e1165;
/* rgb */ color: rgb(94, 17, 101);
/* oklch */ color: oklch(35.3% 0.147 324.3);
Tailwind
colors: {
  custom: {
    50: '#8f5a91',
    500: '#5e1165',
    950: '#000000',
  },
}
SCSS
$custom: #5e1165;
$custom-light: #8f5a91;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1165",
  "rgb": {
    "r": 94,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 295,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.35338,
    "c": 0.14734,
    "h": 324.3
  },
  "luminance": 0.0372
}

Semantic roles & 50–950 ramp

primary
#5E1165
secondary
#3D9D35
accent
#EE3A49
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5E1165

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

Preview Lab → · Contrast checker → · Palette generator →

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