#5E1964#5E1964

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

Color values

HEX#5E1964
RGBrgb(94, 25, 100)
HSLhsl(295, 60%, 25%)
HSVhsv(295, 75%, 39%)
CMYKcmyk(6%, 75%, 0%, 60.8%)
CIE-LABlab(23.66, 41.25, -28.68)
CIE-LCHlch(23.66, 50.24, 325.19°)
OKLaboklab(35.98% 0.1118 -0.0798)
OKLCHoklch(35.98% 0.137 324.5)
XYZxyz(7.2638, 3.9955, 12.4427)
Luminance0.0399 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1964 #1F6419
analogous
#391964 #5E1964 #641945
triadic
#5E1964 #645E19 #19645E
tetradic
#5E1964 #643919 #1F6419 #194564
square
#5E1964 #643919 #1F6419 #194564
split-complementary
#5E1964 #456419 #196439
monochromatic
#170618 #300D33 #5E1964 #8C2595 #BA31C6

Accessibility & contrast

On white

11.67
#5E1964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1964
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1964#FFFFFF#000000##FFFFFF
##5E19641.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043366
Deuteranopia (green-blind)
#273B62
Tritanopia (blue-blind)
#60263D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5e1964;
/* rgb */ color: rgb(94, 25, 100);
/* oklch */ color: oklch(36.0% 0.137 324.5);
Tailwind
colors: {
  custom: {
    50: '#8e5d90',
    500: '#5e1964',
    950: '#000000',
  },
}
SCSS
$custom: #5e1964;
$custom-light: #8e5d90;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1964",
  "rgb": {
    "r": 94,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 295.2,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.3598,
    "c": 0.1374,
    "h": 324.5
  },
  "luminance": 0.03995
}

Semantic roles & 50–950 ramp

primary
#5E1964
secondary
#469A3F
accent
#E34551
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D050C
muted
#7E797D

Preview Lab

Preview with #5E1964

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

Preview Lab → · Contrast checker → · Palette generator →

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