#5E1967#5E1967

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

Color values

HEX#5E1967
RGBrgb(94, 25, 103)
HSLhsl(293, 61%, 25%)
HSVhsv(293, 76%, 40%)
CMYKcmyk(8.7%, 75.7%, 0%, 59.6%)
CIE-LABlab(23.85, 41.84, -30.33)
CIE-LCHlch(23.85, 51.68, 324.06°)
OKLaboklab(36.18% 0.1117 -0.0846)
OKLCHoklch(36.18% 0.14 322.8)
XYZxyz(7.4117, 4.0546, 13.2216)
Luminance0.0405 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1967 #226719
analogous
#371967 #5E1967 #671949
triadic
#5E1967 #675E19 #19675E
tetradic
#5E1967 #673719 #226719 #194967
square
#5E1967 #673719 #226719 #194967
split-complementary
#5E1967 #496719 #196737
monochromatic
#160619 #310D36 #5E1967 #8B2598 #B831C9

Accessibility & contrast

On white

11.60
#5E1967 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1967
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1967#FFFFFF#000000##FFFFFF
##5E19671.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003469
Deuteranopia (green-blind)
#253B65
Tritanopia (blue-blind)
#5F273E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5e1967;
/* rgb */ color: rgb(94, 25, 103);
/* oklch */ color: oklch(36.2% 0.140 322.8);
Tailwind
colors: {
  custom: {
    50: '#8f5d93',
    500: '#5e1967',
    950: '#000000',
  },
}
SCSS
$custom: #5e1967;
$custom-light: #8f5d93;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1967",
  "rgb": {
    "r": 94,
    "g": 25,
    "b": 103
  },
  "hsl": {
    "h": 293.077,
    "s": 60.938,
    "l": 25.098
  },
  "oklch": {
    "l": 0.36182,
    "c": 0.14016,
    "h": 322.8
  },
  "luminance": 0.04054
}

Semantic roles & 50–950 ramp

primary
#5E1967
secondary
#4A9D3F
accent
#E44456
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #5E1967

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

Preview Lab → · Contrast checker → · Palette generator →

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