#5D1967#5D1967

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

Color values

HEX#5D1967
RGBrgb(93, 25, 103)
HSLhsl(292, 61%, 25%)
HSVhsv(292, 76%, 40%)
CMYKcmyk(9.7%, 75.7%, 0%, 59.6%)
CIE-LABlab(23.68, 41.60, -30.62)
CIE-LCHlch(23.68, 51.65, 323.65°)
OKLaboklab(36.02% 0.1104 -0.0855)
OKLCHoklch(36.02% 0.14 322.2)
XYZxyz(7.3098, 4.0021, 13.2168)
Luminance0.0400 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1967 #236719
analogous
#361967 #5D1967 #67194A
triadic
#5D1967 #675D19 #19675D
tetradic
#5D1967 #673619 #236719 #194A67
square
#5D1967 #673619 #236719 #194A67
split-complementary
#5D1967 #4A6719 #196736
monochromatic
#160619 #310D36 #5D1967 #892598 #B631C9

Accessibility & contrast

On white

11.66
#5D1967 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1967
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1967#FFFFFF#000000##FFFFFF
##5D19671.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003369
Deuteranopia (green-blind)
#243B65
Tritanopia (blue-blind)
#5E273E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5d1967;
/* rgb */ color: rgb(93, 25, 103);
/* oklch */ color: oklch(36.0% 0.140 322.2);
Tailwind
colors: {
  custom: {
    50: '#8e5d93',
    500: '#5d1967',
    950: '#000000',
  },
}
SCSS
$custom: #5d1967;
$custom-light: #8e5d93;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1967",
  "rgb": {
    "r": 93,
    "g": 25,
    "b": 103
  },
  "hsl": {
    "h": 292.308,
    "s": 60.938,
    "l": 25.098
  },
  "oklch": {
    "l": 0.36024,
    "c": 0.13967,
    "h": 322.2
  },
  "luminance": 0.04002
}

Semantic roles & 50–950 ramp

primary
#5D1967
secondary
#4B9D3F
accent
#E44458
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0D050D
muted
#7D797E

Preview Lab

Preview with #5D1967

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

Preview Lab → · Contrast checker → · Palette generator →

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