#5E1968#5E1968

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

Color values

HEX#5E1968
RGBrgb(94, 25, 104)
HSLhsl(292, 61%, 25%)
HSVhsv(292, 76%, 41%)
CMYKcmyk(9.6%, 76%, 0%, 59.2%)
CIE-LABlab(23.92, 42.04, -30.88)
CIE-LCHlch(23.92, 52.16, 323.71°)
OKLaboklab(36.25% 0.1117 -0.0862)
OKLCHoklch(36.25% 0.141 322.3)
XYZxyz(7.4622, 4.0748, 13.4875)
Luminance0.0407 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1968 #236819
analogous
#361968 #5E1968 #68194A
triadic
#5E1968 #685E19 #19685E
tetradic
#5E1968 #683619 #236819 #194A68
square
#5E1968 #683619 #236819 #194A68
split-complementary
#5E1968 #4A6819 #196836
monochromatic
#160619 #310D37 #5E1968 #8B2599 #B731CB

Accessibility & contrast

On white

11.57
#5E1968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1968
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1968#FFFFFF#000000##FFFFFF
##5E19681.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346A
Deuteranopia (green-blind)
#243B66
Tritanopia (blue-blind)
#5F273F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e1968;
/* rgb */ color: rgb(94, 25, 104);
/* oklch */ color: oklch(36.3% 0.141 322.3);
Tailwind
colors: {
  custom: {
    50: '#8f5d93',
    500: '#5e1968',
    950: '#000000',
  },
}
SCSS
$custom: #5e1968;
$custom-light: #8f5d93;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1968",
  "rgb": {
    "r": 94,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 292.405,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.3625,
    "c": 0.14109,
    "h": 322.3
  },
  "luminance": 0.04074
}

Semantic roles & 50–950 ramp

primary
#5E1968
secondary
#4B9E3F
accent
#E44358
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #5E1968

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

Preview Lab → · Contrast checker → · Palette generator →

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