#5E1675#5E1675

#5E1675 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.9% C 0.157 H 316.2°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#5E1675
RGBrgb(94, 22, 117)
HSLhsl(285, 68%, 27%)
HSVhsv(285, 81%, 46%)
CMYKcmyk(19.7%, 81.2%, 0%, 54.1%)
CIE-LABlab(24.44, 45.83, -38.42)
CIE-LCHlch(24.44, 59.80, 320.02°)
OKLaboklab(36.92% 0.1131 -0.1083)
OKLCHoklch(36.92% 0.157 316.2)
XYZxyz(8.1134, 4.2382, 17.2168)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1675 #2D7516
analogous
#2F1675 #5E1675 #75165C
triadic
#5E1675 #755E16 #16755E
tetradic
#5E1675 #752F16 #2D7516 #165C75
square
#5E1675 #752F16 #2D7516 #165C75
split-complementary
#5E1675 #5C7516 #16752F
monochromatic
#15051A #350C41 #5E1675 #8720A9 #AF2ED8

Accessibility & contrast

On white

11.37
#5E1675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#5E1675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1675
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1675#FFFFFF#000000##FFFFFF
##5E16751.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#153C73
Tritanopia (blue-blind)
#5C2C45
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5e1675;
/* rgb */ color: rgb(94, 22, 117);
/* oklch */ color: oklch(36.9% 0.157 316.2);
Tailwind
colors: {
  custom: {
    50: '#8f5d9d',
    500: '#5e1675',
    950: '#000000',
  },
}
SCSS
$custom: #5e1675;
$custom-light: #8f5d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1675",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 285.474,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.36916,
    "c": 0.1566,
    "h": 316.2
  },
  "luminance": 0.04238
}

Semantic roles & 50–950 ramp

primary
#5E1675
secondary
#57AB3C
accent
#EB3D67
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5E1675

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

Preview Lab → · Contrast checker → · Palette generator →

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