#5E1A67#5E1A67

#5E1A67 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.3% C 0.139 H 322.8°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#5E1A67
RGBrgb(94, 26, 103)
HSLhsl(293, 60%, 25%)
HSVhsv(293, 75%, 40%)
CMYKcmyk(8.7%, 74.8%, 0%, 59.6%)
CIE-LABlab(23.99, 41.44, -30.10)
CIE-LCHlch(23.99, 51.22, 324.00°)
OKLaboklab(36.28% 0.1106 -0.084)
OKLCHoklch(36.28% 0.139 322.8)
XYZxyz(7.4334, 4.0982, 13.2288)
Luminance0.0410 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1A67 #23671A
analogous
#371A67 #5E1A67 #671A49
triadic
#5E1A67 #675E1A #1A675E
tetradic
#5E1A67 #67371A #23671A #1A4967
square
#5E1A67 #67371A #23671A #1A4967
split-complementary
#5E1A67 #49671A #1A6737
monochromatic
#160618 #310E36 #5E1A67 #8B2698 #B733C9

Accessibility & contrast

On white

11.54
#5E1A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1A67
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1A67#FFFFFF#000000##FFFFFF
##5E1A671.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003469
Deuteranopia (green-blind)
#263C65
Tritanopia (blue-blind)
#5F283E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e1a67;
/* rgb */ color: rgb(94, 26, 103);
/* oklch */ color: oklch(36.3% 0.139 322.8);
Tailwind
colors: {
  custom: {
    50: '#8e5e93',
    500: '#5e1a67',
    950: '#000000',
  },
}
SCSS
$custom: #5e1a67;
$custom-light: #8e5e93;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1a67",
  "rgb": {
    "r": 94,
    "g": 26,
    "b": 103
  },
  "hsl": {
    "h": 292.987,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36284,
    "c": 0.13889,
    "h": 322.8
  },
  "luminance": 0.04098
}

Semantic roles & 50–950 ramp

primary
#5E1A67
secondary
#4B9D40
accent
#E34557
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #5E1A67

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

Preview Lab → · Contrast checker → · Palette generator →

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