#5D1363#5D1363

#5D1363 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.2% C 0.143 H 324.7°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#5D1363
RGBrgb(93, 19, 99)
HSLhsl(296, 68%, 23%)
HSVhsv(296, 81%, 39%)
CMYKcmyk(6.1%, 80.8%, 0%, 61.2%)
CIE-LABlab(22.63, 43.05, -29.67)
CIE-LCHlch(22.63, 52.28, 325.43°)
OKLaboklab(35.2% 0.1168 -0.0827)
OKLCHoklch(35.2% 0.143 324.7)
XYZxyz(6.9990, 3.6942, 12.1464)
Luminance0.0369 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1363 #196313
analogous
#351363 #5D1363 #631341
triadic
#5D1363 #635D13 #13635D
tetradic
#5D1363 #633513 #196313 #134163
square
#5D1363 #633513 #196313 #134163
split-complementary
#5D1363 #416313 #136335
monochromatic
#18051A #2D0930 #5D1363 #8D1D96 #BD27CA

Accessibility & contrast

On white

12.08
#5D1363 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#5D1363 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1363
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1363#FFFFFF#000000##FFFFFF
##5D13631.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003065
Deuteranopia (green-blind)
#243961
Tritanopia (blue-blind)
#5F223A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5d1363;
/* rgb */ color: rgb(93, 19, 99);
/* oklch */ color: oklch(35.2% 0.143 324.7);
Tailwind
colors: {
  custom: {
    50: '#8e5b90',
    500: '#5d1363',
    950: '#000000',
  },
}
SCSS
$custom: #5d1363;
$custom-light: #8e5b90;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1363",
  "rgb": {
    "r": 93,
    "g": 19,
    "b": 99
  },
  "hsl": {
    "h": 295.5,
    "s": 67.797,
    "l": 23.137
  },
  "oklch": {
    "l": 0.35195,
    "c": 0.14309,
    "h": 324.7
  },
  "luminance": 0.03694
}

Semantic roles & 50–950 ramp

primary
#5D1363
secondary
#3F9B37
accent
#EB3D4A
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5D1363

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

Preview Lab → · Contrast checker → · Palette generator →

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