#5D1968#5D1968

#5D1968 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.1% C 0.141 H 321.7°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#5D1968
RGBrgb(93, 25, 104)
HSLhsl(292, 61%, 25%)
HSVhsv(292, 76%, 41%)
CMYKcmyk(10.6%, 76%, 0%, 59.2%)
CIE-LABlab(23.75, 41.80, -31.16)
CIE-LCHlch(23.75, 52.14, 323.30°)
OKLaboklab(36.09% 0.1104 -0.0871)
OKLCHoklch(36.09% 0.141 321.7)
XYZxyz(7.3603, 4.0223, 13.4827)
Luminance0.0402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1968 #246819
analogous
#361968 #5D1968 #68194B
triadic
#5D1968 #685D19 #19685D
tetradic
#5D1968 #683619 #246819 #194B68
square
#5D1968 #683619 #246819 #194B68
split-complementary
#5D1968 #4B6819 #196836
monochromatic
#160619 #310D37 #5D1968 #892599 #B531CB

Accessibility & contrast

On white

11.64
#5D1968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1968
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1968#FFFFFF#000000##FFFFFF
##5D19681.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346A
Deuteranopia (green-blind)
#233B66
Tritanopia (blue-blind)
#5E283F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5d1968;
/* rgb */ color: rgb(93, 25, 104);
/* oklch */ color: oklch(36.1% 0.141 321.7);
Tailwind
colors: {
  custom: {
    50: '#8e5d93',
    500: '#5d1968',
    950: '#000000',
  },
}
SCSS
$custom: #5d1968;
$custom-light: #8e5d93;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1968",
  "rgb": {
    "r": 93,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 291.646,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.36093,
    "c": 0.1406,
    "h": 321.7
  },
  "luminance": 0.04022
}

Semantic roles & 50–950 ramp

primary
#5D1968
secondary
#4C9E3F
accent
#E4435A
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0D050D
muted
#7D797E

Preview Lab

Preview with #5D1968

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

Preview Lab → · Contrast checker → · Palette generator →

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