#5E1673#5E1673

#5E1673 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.8% C 0.155 H 317.1°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#5E1673
RGBrgb(94, 22, 115)
HSLhsl(286, 68%, 27%)
HSVhsv(286, 81%, 45%)
CMYKcmyk(18.3%, 80.9%, 0%, 54.9%)
CIE-LABlab(24.30, 45.41, -37.38)
CIE-LCHlch(24.30, 58.81, 320.54°)
OKLaboklab(36.76% 0.1134 -0.1053)
OKLCHoklch(36.76% 0.155 317.1)
XYZxyz(7.9971, 4.1917, 16.6042)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1673 #2B7316
analogous
#301673 #5E1673 #73165A
triadic
#5E1673 #735E16 #16735E
tetradic
#5E1673 #733016 #2B7316 #165A73
square
#5E1673 #733016 #2B7316 #165A73
split-complementary
#5E1673 #5A7316 #167330
monochromatic
#15051A #340C40 #5E1673 #8820A6 #B02DD7

Accessibility & contrast

On white

11.42
#5E1673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#5E1673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1673
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1673#FFFFFF#000000##FFFFFF
##5E16731.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003576
Deuteranopia (green-blind)
#183C71
Tritanopia (blue-blind)
#5D2B44
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5e1673;
/* rgb */ color: rgb(94, 22, 115);
/* oklch */ color: oklch(36.8% 0.155 317.1);
Tailwind
colors: {
  custom: {
    50: '#8f5d9c',
    500: '#5e1673',
    950: '#000000',
  },
}
SCSS
$custom: #5e1673;
$custom-light: #8f5d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1673",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 286.452,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.36764,
    "c": 0.15474,
    "h": 317.1
  },
  "luminance": 0.04191
}

Semantic roles & 50–950 ramp

primary
#5E1673
secondary
#55A93C
accent
#EB3D64
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5E1673

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

Preview Lab → · Contrast checker → · Palette generator →

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