#5E1A68#5E1A68

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

Color values

HEX#5E1A68
RGBrgb(94, 26, 104)
HSLhsl(292, 60%, 25%)
HSVhsv(292, 75%, 41%)
CMYKcmyk(9.6%, 75%, 0%, 59.2%)
CIE-LABlab(24.06, 41.64, -30.65)
CIE-LCHlch(24.06, 51.70, 323.64°)
OKLaboklab(36.35% 0.1106 -0.0856)
OKLCHoklch(36.35% 0.14 322.3)
XYZxyz(7.4839, 4.1184, 13.4947)
Luminance0.0412 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1A68 #24681A
analogous
#371A68 #5E1A68 #681A4B
triadic
#5E1A68 #685E1A #1A685E
tetradic
#5E1A68 #68371A #24681A #1A4B68
square
#5E1A68 #68371A #24681A #1A4B68
split-complementary
#5E1A68 #4B681A #1A6837
monochromatic
#160618 #320E37 #5E1A68 #8A2699 #B732CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E1A68#FFFFFF#000000##FFFFFF
##5E1A681.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)
#00346A
Deuteranopia (green-blind)
#253C66
Tritanopia (blue-blind)
#5F283F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e1a68;
/* rgb */ color: rgb(94, 26, 104);
/* oklch */ color: oklch(36.4% 0.140 322.3);
Tailwind
colors: {
  custom: {
    50: '#8f5e93',
    500: '#5e1a68',
    950: '#000000',
  },
}
SCSS
$custom: #5e1a68;
$custom-light: #8f5e93;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1a68",
  "rgb": {
    "r": 94,
    "g": 26,
    "b": 104
  },
  "hsl": {
    "h": 292.308,
    "s": 60,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36352,
    "c": 0.13983,
    "h": 322.3
  },
  "luminance": 0.04118
}

Semantic roles & 50–950 ramp

primary
#5E1A68
secondary
#4C9D40
accent
#E34559
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #5E1A68

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

Preview Lab → · Contrast checker → · Palette generator →

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