#5D1865#5D1865

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

Color values

HEX#5D1865
RGBrgb(93, 24, 101)
HSLhsl(294, 62%, 25%)
HSVhsv(294, 76%, 40%)
CMYKcmyk(7.9%, 76.2%, 0%, 60.4%)
CIE-LABlab(23.41, 41.60, -29.74)
CIE-LCHlch(23.41, 51.14, 324.44°)
OKLaboklab(35.79% 0.1116 -0.083)
OKLCHoklch(35.79% 0.139 323.4)
XYZxyz(7.1896, 3.9204, 12.6874)
Luminance0.0392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1865 #206518
analogous
#371865 #5D1865 #651847
triadic
#5D1865 #655D18 #18655D
tetradic
#5D1865 #653718 #206518 #184765
square
#5D1865 #653718 #206518 #184765
split-complementary
#5D1865 #476518 #186537
monochromatic
#170619 #2F0C34 #5D1865 #8B2496 #B830C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D1865#FFFFFF#000000##FFFFFF
##5D18651.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)
#003367
Deuteranopia (green-blind)
#253A63
Tritanopia (blue-blind)
#5F263D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5d1865;
/* rgb */ color: rgb(93, 24, 101);
/* oklch */ color: oklch(35.8% 0.139 323.4);
Tailwind
colors: {
  custom: {
    50: '#8e5d91',
    500: '#5d1865',
    950: '#000000',
  },
}
SCSS
$custom: #5d1865;
$custom-light: #8e5d91;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1865",
  "rgb": {
    "r": 93,
    "g": 24,
    "b": 101
  },
  "hsl": {
    "h": 293.766,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.35788,
    "c": 0.13908,
    "h": 323.4
  },
  "luminance": 0.0392
}

Semantic roles & 50–950 ramp

primary
#5D1865
secondary
#479B3E
accent
#E54354
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040D
muted
#7D797D

Preview Lab

Preview with #5D1865

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

Preview Lab → · Contrast checker → · Palette generator →

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