#5D1385#5D1385

#5D1385 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.174 H 309.4°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#5D1385
RGBrgb(93, 19, 133)
HSLhsl(279, 75%, 30%)
HSVhsv(279, 86%, 52%)
CMYKcmyk(30.1%, 85.7%, 0%, 47.8%)
CIE-LABlab(25.22, 50.06, -47.31)
CIE-LCHlch(25.22, 68.88, 316.62°)
OKLaboklab(37.83% 0.1103 -0.1345)
OKLCHoklch(37.83% 0.174 309.4)
XYZxyz(8.9798, 4.4865, 22.5787)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1385 #3B8513
analogous
#241385 #5D1385 #851374
triadic
#5D1385 #855D13 #13855D
tetradic
#5D1385 #852413 #3B8513 #137485
square
#5D1385 #852413 #3B8513 #137485
split-complementary
#5D1385 #748513 #138524
monochromatic
#13041B #380B4F #5D1385 #821BBB #A431E2

Accessibility & contrast

On white

11.07
#5D1385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#5D1385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1385
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1385#FFFFFF#000000##FFFFFF
##5D13851.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003D83
Tritanopia (blue-blind)
#57324E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5d1385;
/* rgb */ color: rgb(93, 19, 133);
/* oklch */ color: oklch(37.8% 0.174 309.4);
Tailwind
colors: {
  custom: {
    50: '#905ca9',
    500: '#5d1385',
    950: '#000000',
  },
}
SCSS
$custom: #5d1385;
$custom-light: #905ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1385",
  "rgb": {
    "r": 93,
    "g": 19,
    "b": 133
  },
  "hsl": {
    "h": 278.947,
    "s": 75,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37826,
    "c": 0.17393,
    "h": 309.4
  },
  "luminance": 0.04486
}

Semantic roles & 50–950 ramp

primary
#5D1385
secondary
#67BA3A
accent
#F23678
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #5D1385

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

Preview Lab → · Contrast checker → · Palette generator →

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