#5E1A63#5E1A63

#5E1A63 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.0% C 0.135 H 325.0°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#5E1A63
RGBrgb(94, 26, 99)
HSLhsl(296, 58%, 25%)
HSVhsv(296, 74%, 39%)
CMYKcmyk(5.1%, 73.7%, 0%, 61.2%)
CIE-LABlab(23.74, 40.65, -27.90)
CIE-LCHlch(23.74, 49.30, 325.54°)
OKLaboklab(36.02% 0.1107 -0.0776)
OKLCHoklch(36.02% 0.135 325)
XYZxyz(7.2374, 4.0198, 12.1966)
Luminance0.0402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1A63 #1F631A
analogous
#391A63 #5E1A63 #631A44
triadic
#5E1A63 #635E1A #1A635E
tetradic
#5E1A63 #63391A #1F631A #1A4463
square
#5E1A63 #63391A #1F631A #1A4463
split-complementary
#5E1A63 #44631A #1A6339
monochromatic
#170618 #300D33 #5E1A63 #8C2793 #BA33C4

Accessibility & contrast

On white

11.64
#5E1A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#5E1A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1A63
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1A63#FFFFFF#000000##FFFFFF
##5E1A631.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083365
Deuteranopia (green-blind)
#283B61
Tritanopia (blue-blind)
#60263C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e1a63;
/* rgb */ color: rgb(94, 26, 99);
/* oklch */ color: oklch(36.0% 0.135 325.0);
Tailwind
colors: {
  custom: {
    50: '#8e5e90',
    500: '#5e1a63',
    950: '#000000',
  },
}
SCSS
$custom: #5e1a63;
$custom-light: #8e5e90;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1a63",
  "rgb": {
    "r": 94,
    "g": 26,
    "b": 99
  },
  "hsl": {
    "h": 295.89,
    "s": 58.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.36017,
    "c": 0.13518,
    "h": 325
  },
  "luminance": 0.04019
}

Semantic roles & 50–950 ramp

primary
#5E1A63
secondary
#469940
accent
#E24651
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D050C
muted
#7E797D

Preview Lab

Preview with #5E1A63

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

Preview Lab → · Contrast checker → · Palette generator →

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