#5D1863#5D1863

#5D1863 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.7% C 0.137 H 324.5°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#5D1863
RGBrgb(93, 24, 99)
HSLhsl(295, 61%, 24%)
HSVhsv(295, 76%, 39%)
CMYKcmyk(6.1%, 75.8%, 0%, 61.2%)
CIE-LABlab(23.28, 41.21, -28.64)
CIE-LCHlch(23.28, 50.19, 325.20°)
OKLaboklab(35.65% 0.1117 -0.0797)
OKLCHoklch(35.65% 0.137 324.5)
XYZxyz(7.0928, 3.8817, 12.1776)
Luminance0.0388 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1863 #1E6318
analogous
#381863 #5D1863 #631844
triadic
#5D1863 #635D18 #18635D
tetradic
#5D1863 #633818 #1E6318 #184463
square
#5D1863 #633818 #1E6318 #184463
split-complementary
#5D1863 #446318 #186338
monochromatic
#170619 #2F0C32 #5D1863 #8B2494 #BA30C6

Accessibility & contrast

On white

11.82
#5D1863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5D1863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1863
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1863#FFFFFF#000000##FFFFFF
##5D18631.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023265
Deuteranopia (green-blind)
#263A61
Tritanopia (blue-blind)
#5F253C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5d1863;
/* rgb */ color: rgb(93, 24, 99);
/* oklch */ color: oklch(35.7% 0.137 324.5);
Tailwind
colors: {
  custom: {
    50: '#8e5d90',
    500: '#5d1863',
    950: '#000000',
  },
}
SCSS
$custom: #5d1863;
$custom-light: #8e5d90;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1863",
  "rgb": {
    "r": 93,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 295.2,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.35653,
    "c": 0.13724,
    "h": 324.5
  },
  "luminance": 0.03881
}

Semantic roles & 50–950 ramp

primary
#5D1863
secondary
#45993E
accent
#E44451
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5D1863

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

Preview Lab → · Contrast checker → · Palette generator →

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