#5E1F73#5E1F73

#5E1F73 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.7% C 0.144 H 316.4°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#5E1F73
RGBrgb(94, 31, 115)
HSLhsl(285, 58%, 29%)
HSVhsv(285, 73%, 45%)
CMYKcmyk(18.3%, 73%, 0%, 54.9%)
CIE-LABlab(25.56, 41.81, -35.35)
CIE-LCHlch(25.56, 54.75, 319.79°)
OKLaboklab(37.66% 0.1042 -0.0994)
OKLCHoklch(37.66% 0.144 316.4)
XYZxyz(8.2001, 4.5978, 16.6718)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1F73 #34731F
analogous
#341F73 #5E1F73 #731F5E
triadic
#5E1F73 #735E1F #1F735E
tetradic
#5E1F73 #73341F #34731F #1F5E73
square
#5E1F73 #73341F #34731F #1F5E73
split-complementary
#5E1F73 #5E731F #1F7334
monochromatic
#140618 #371243 #5E1F73 #852CA3 #A941CC

Accessibility & contrast

On white

10.94
#5E1F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#5E1F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1F73
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1F73#FFFFFF#000000##FFFFFF
##5E1F731.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#1F3E71
Tritanopia (blue-blind)
#5D3046
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #5e1f73;
/* rgb */ color: rgb(94, 31, 115);
/* oklch */ color: oklch(37.7% 0.144 316.4);
Tailwind
colors: {
  custom: {
    50: '#8f619c',
    500: '#5e1f73',
    950: '#000000',
  },
}
SCSS
$custom: #5e1f73;
$custom-light: #8f619c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1f73",
  "rgb": {
    "r": 94,
    "g": 31,
    "b": 115
  },
  "hsl": {
    "h": 285,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3766,
    "c": 0.14398,
    "h": 316.4
  },
  "luminance": 0.04597
}

Semantic roles & 50–950 ramp

primary
#5E1F73
secondary
#5FA747
accent
#E1476D
background
#F9F5F9
surface
#F1EAF2
border
#CBC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #5E1F73

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

Preview Lab → · Contrast checker → · Palette generator →

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