#5D1963#5D1963

#5D1963 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.8% C 0.136 H 324.4°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#5D1963
RGBrgb(93, 25, 99)
HSLhsl(295, 60%, 24%)
HSVhsv(295, 75%, 39%)
CMYKcmyk(6.1%, 74.7%, 0%, 61.2%)
CIE-LABlab(23.42, 40.81, -28.42)
CIE-LCHlch(23.42, 49.73, 325.15°)
OKLaboklab(35.75% 0.1106 -0.0791)
OKLCHoklch(35.75% 0.136 324.4)
XYZxyz(7.1138, 3.9237, 12.1846)
Luminance0.0392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1963 #1F6319
analogous
#381963 #5D1963 #631944
triadic
#5D1963 #635D19 #19635D
tetradic
#5D1963 #633819 #1F6319 #194463
square
#5D1963 #633819 #1F6319 #194463
split-complementary
#5D1963 #446319 #196338
monochromatic
#170618 #2F0D32 #5D1963 #8B2594 #B932C5

Accessibility & contrast

On white

11.77
#5D1963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1963
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1963#FFFFFF#000000##FFFFFF
##5D19631.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043365
Deuteranopia (green-blind)
#273B61
Tritanopia (blue-blind)
#5F253C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5d1963;
/* rgb */ color: rgb(93, 25, 99);
/* oklch */ color: oklch(35.8% 0.136 324.4);
Tailwind
colors: {
  custom: {
    50: '#8e5d90',
    500: '#5d1963',
    950: '#000000',
  },
}
SCSS
$custom: #5d1963;
$custom-light: #8e5d90;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1963",
  "rgb": {
    "r": 93,
    "g": 25,
    "b": 99
  },
  "hsl": {
    "h": 295.135,
    "s": 59.677,
    "l": 24.314
  },
  "oklch": {
    "l": 0.35754,
    "c": 0.13597,
    "h": 324.4
  },
  "luminance": 0.03923
}

Semantic roles & 50–950 ramp

primary
#5D1963
secondary
#46993F
accent
#E34552
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D050C
muted
#7D797D

Preview Lab

Preview with #5D1963

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

Preview Lab → · Contrast checker → · Palette generator →

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