#5E185E#5E185E

#5E185E is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.5% C 0.133 H 327.9°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#5E185E
RGBrgb(94, 24, 94)
HSLhsl(300, 59%, 23%)
HSVhsv(300, 74%, 37%)
CMYKcmyk(0%, 74.5%, 0%, 63.1%)
CIE-LABlab(23.14, 40.50, -25.56)
CIE-LCHlch(23.14, 47.89, 327.75°)
OKLaboklab(35.49% 0.113 -0.0707)
OKLCHoklch(35.49% 0.133 327.9)
XYZxyz(6.9630, 3.8416, 10.9623)
Luminance0.0384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E185E #185E18
analogous
#3B185E #5E185E #5E183B
triadic
#5E185E #5E5E18 #185E5E
tetradic
#5E185E #5E3B18 #185E18 #183B5E
square
#5E185E #5E3B18 #185E18 #183B5E
split-complementary
#5E185E #3B5E18 #185E3B
monochromatic
#180618 #2D0C2D #5E185E #8F248F #C031C0

Accessibility & contrast

On white

11.88
#5E185E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5E185E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E185E
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E185E#FFFFFF#000000##FFFFFF
##5E185E1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3160
Deuteranopia (green-blind)
#2A3A5C
Tritanopia (blue-blind)
#612239
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e185e;
/* rgb */ color: rgb(94, 24, 94);
/* oklch */ color: oklch(35.5% 0.133 327.9);
Tailwind
colors: {
  custom: {
    50: '#8e5d8c',
    500: '#5e185e',
    950: '#000000',
  },
}
SCSS
$custom: #5e185e;
$custom-light: #8e5d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e185e",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 94
  },
  "hsl": {
    "h": 300,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.35489,
    "c": 0.13329,
    "h": 327.9
  },
  "luminance": 0.03841
}

Semantic roles & 50–950 ramp

primary
#5E185E
secondary
#3D943D
accent
#E34545
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E185E

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

Preview Lab → · Contrast checker → · Palette generator →

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