#5E1B63#5E1B63

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

Color values

HEX#5E1B63
RGBrgb(94, 27, 99)
HSLhsl(296, 57%, 25%)
HSVhsv(296, 73%, 39%)
CMYKcmyk(5.1%, 72.7%, 0%, 61.2%)
CIE-LABlab(23.88, 40.23, -27.66)
CIE-LCHlch(23.88, 48.82, 325.49°)
OKLaboklab(36.12% 0.1096 -0.0769)
OKLCHoklch(36.12% 0.134 324.9)
XYZxyz(7.2600, 4.0649, 12.2042)
Luminance0.0406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1B63 #20631B
analogous
#3A1B63 #5E1B63 #631B44
triadic
#5E1B63 #635E1B #1B635E
tetradic
#5E1B63 #633A1B #20631B #1B4463
square
#5E1B63 #633A1B #20631B #1B4463
split-complementary
#5E1B63 #44631B #1B633A
monochromatic
#170718 #300E33 #5E1B63 #8C2893 #B935C3

Accessibility & contrast

On white

11.58
#5E1B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#5E1B63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1B63
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1B63#FFFFFF#000000##FFFFFF
##5E1B631.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3465
Deuteranopia (green-blind)
#293C61
Tritanopia (blue-blind)
#60273D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e1b63;
/* rgb */ color: rgb(94, 27, 99);
/* oklch */ color: oklch(36.1% 0.134 324.9);
Tailwind
colors: {
  custom: {
    50: '#8e5e90',
    500: '#5e1b63',
    950: '#000000',
  },
}
SCSS
$custom: #5e1b63;
$custom-light: #8e5e90;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1b63",
  "rgb": {
    "r": 94,
    "g": 27,
    "b": 99
  },
  "hsl": {
    "h": 295.833,
    "s": 57.143,
    "l": 24.706
  },
  "oklch": {
    "l": 0.36123,
    "c": 0.13385,
    "h": 324.9
  },
  "luminance": 0.04064
}

Semantic roles & 50–950 ramp

primary
#5E1B63
secondary
#479841
accent
#E04752
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D050C
muted
#7E797D

Preview Lab

Preview with #5E1B63

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

Preview Lab → · Contrast checker → · Palette generator →

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