#5D1965#5D1965

#5D1965 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 35.9% C 0.138 H 323.3°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#5D1965
RGBrgb(93, 25, 101)
HSLhsl(294, 60%, 25%)
HSVhsv(294, 75%, 40%)
CMYKcmyk(7.9%, 75.2%, 0%, 60.4%)
CIE-LABlab(23.55, 41.20, -29.52)
CIE-LCHlch(23.55, 50.69, 324.38°)
OKLaboklab(35.89% 0.1105 -0.0823)
OKLCHoklch(35.89% 0.138 323.3)
XYZxyz(7.2106, 3.9624, 12.6944)
Luminance0.0396 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1965 #216519
analogous
#371965 #5D1965 #651947
triadic
#5D1965 #655D19 #19655D
tetradic
#5D1965 #653719 #216519 #194765
square
#5D1965 #653719 #216519 #194765
split-complementary
#5D1965 #476519 #196537
monochromatic
#170619 #300D34 #5D1965 #8A2596 #B731C7

Accessibility & contrast

On white

11.72
#5D1965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5D1965 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1965
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1965#FFFFFF#000000##FFFFFF
##5D19651.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013367
Deuteranopia (green-blind)
#253B63
Tritanopia (blue-blind)
#5F263D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5d1965;
/* rgb */ color: rgb(93, 25, 101);
/* oklch */ color: oklch(35.9% 0.138 323.3);
Tailwind
colors: {
  custom: {
    50: '#8e5d91',
    500: '#5d1965',
    950: '#000000',
  },
}
SCSS
$custom: #5d1965;
$custom-light: #8e5d91;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1965",
  "rgb": {
    "r": 93,
    "g": 25,
    "b": 101
  },
  "hsl": {
    "h": 293.684,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.35888,
    "c": 0.13782,
    "h": 323.3
  },
  "luminance": 0.03962
}

Semantic roles & 50–950 ramp

primary
#5D1965
secondary
#499B3F
accent
#E34455
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D050D
muted
#7D797D

Preview Lab

Preview with #5D1965

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

Preview Lab → · Contrast checker → · Palette generator →

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