#5E1C63#5E1C63

#5E1C63 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.2% C 0.132 H 324.9°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#5E1C63
RGBrgb(94, 28, 99)
HSLhsl(296, 56%, 25%)
HSVhsv(296, 72%, 39%)
CMYKcmyk(5.1%, 71.7%, 0%, 61.2%)
CIE-LABlab(24.04, 39.80, -27.42)
CIE-LCHlch(24.04, 48.33, 325.43°)
OKLaboklab(36.23% 0.1084 -0.0762)
OKLCHoklch(36.23% 0.132 324.9)
XYZxyz(7.2833, 4.1115, 12.2119)
Luminance0.0411 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1C63 #21631C
analogous
#3B1C63 #5E1C63 #631C44
triadic
#5E1C63 #635E1C #1C635E
tetradic
#5E1C63 #633B1C #21631C #1C4463
square
#5E1C63 #633B1C #21631C #1C4463
split-complementary
#5E1C63 #44631C #1C633B
monochromatic
#170718 #310F33 #5E1C63 #8B2993 #B937C2

Accessibility & contrast

On white

11.52
#5E1C63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#5E1C63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1C63
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1C63#FFFFFF#000000##FFFFFF
##5E1C631.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3465
Deuteranopia (green-blind)
#2A3C61
Tritanopia (blue-blind)
#60273D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e1c63;
/* rgb */ color: rgb(94, 28, 99);
/* oklch */ color: oklch(36.2% 0.132 324.9);
Tailwind
colors: {
  custom: {
    50: '#8e5f90',
    500: '#5e1c63',
    950: '#000000',
  },
}
SCSS
$custom: #5e1c63;
$custom-light: #8e5f90;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1c63",
  "rgb": {
    "r": 94,
    "g": 28,
    "b": 99
  },
  "hsl": {
    "h": 295.775,
    "s": 55.906,
    "l": 24.902
  },
  "oklch": {
    "l": 0.36233,
    "c": 0.13248,
    "h": 324.9
  },
  "luminance": 0.04111
}

Semantic roles & 50–950 ramp

primary
#5E1C63
secondary
#499843
accent
#DF4953
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D050C
muted
#7D797D

Preview Lab

Preview with #5E1C63

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

Preview Lab → · Contrast checker → · Palette generator →

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