#5E1760#5E1760

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

Color values

HEX#5E1760
RGBrgb(94, 23, 96)
HSLhsl(298, 61%, 23%)
HSVhsv(298, 76%, 38%)
CMYKcmyk(2.1%, 76%, 0%, 62.4%)
CIE-LABlab(23.13, 41.27, -26.90)
CIE-LCHlch(23.13, 49.26, 326.90°)
OKLaboklab(35.52% 0.1141 -0.0746)
OKLCHoklch(35.52% 0.136 326.8)
XYZxyz(7.0337, 3.8375, 11.4343)
Luminance0.0384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1760 #196017
analogous
#391760 #5E1760 #60173D
triadic
#5E1760 #605E17 #17605E
tetradic
#5E1760 #603917 #196017 #173D60
square
#5E1760 #603917 #196017 #173D60
split-complementary
#5E1760 #3D6017 #176039
monochromatic
#180619 #2E0B2F #5E1760 #8E2391 #BF2FC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E1760#FFFFFF#000000##FFFFFF
##5E17601.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)
#073162
Deuteranopia (green-blind)
#293A5E
Tritanopia (blue-blind)
#61233A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5e1760;
/* rgb */ color: rgb(94, 23, 96);
/* oklch */ color: oklch(35.5% 0.136 326.8);
Tailwind
colors: {
  custom: {
    50: '#8e5c8d',
    500: '#5e1760',
    950: '#000000',
  },
}
SCSS
$custom: #5e1760;
$custom-light: #8e5c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1760",
  "rgb": {
    "r": 94,
    "g": 23,
    "b": 96
  },
  "hsl": {
    "h": 298.356,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.35519,
    "c": 0.13632,
    "h": 326.8
  },
  "luminance": 0.03837
}

Semantic roles & 50–950 ramp

primary
#5E1760
secondary
#3F973C
accent
#E44348
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5E1760

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

Preview Lab → · Contrast checker → · Palette generator →

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