#5E1975#5E1975

#5E1975 is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.2% C 0.153 H 316.0°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#5E1975
RGBrgb(94, 25, 117)
HSLhsl(285, 65%, 28%)
HSVhsv(285, 79%, 46%)
CMYKcmyk(19.7%, 78.6%, 0%, 54.1%)
CIE-LABlab(24.83, 44.73, -37.80)
CIE-LCHlch(24.83, 58.56, 319.80°)
OKLaboklab(37.19% 0.1103 -0.1065)
OKLCHoklch(37.19% 0.153 316)
XYZxyz(8.1741, 4.3596, 17.2371)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1975 #307519
analogous
#301975 #5E1975 #75195E
triadic
#5E1975 #755E19 #19755E
tetradic
#5E1975 #753019 #307519 #195E75
square
#5E1975 #753019 #307519 #195E75
split-complementary
#5E1975 #5E7519 #197530
monochromatic
#140519 #350E43 #5E1975 #8724A7 #AC35D4

Accessibility & contrast

On white

11.22
#5E1975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#5E1975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1975
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1975#FFFFFF#000000##FFFFFF
##5E19751.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#183D73
Tritanopia (blue-blind)
#5C2D46
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5e1975;
/* rgb */ color: rgb(94, 25, 117);
/* oklch */ color: oklch(37.2% 0.153 316.0);
Tailwind
colors: {
  custom: {
    50: '#8f5e9d',
    500: '#5e1975',
    950: '#000000',
  },
}
SCSS
$custom: #5e1975;
$custom-light: #8f5e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1975",
  "rgb": {
    "r": 94,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 285,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37186,
    "c": 0.15334,
    "h": 316
  },
  "luminance": 0.04359
}

Semantic roles & 50–950 ramp

primary
#5E1975
secondary
#5AAA40
accent
#E8406A
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5E1975

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

Preview Lab → · Contrast checker → · Palette generator →

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