#5D195D#5D195D

#5D195D is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.4% C 0.131 H 327.9°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#5D195D
RGBrgb(93, 25, 93)
HSLhsl(300, 58%, 23%)
HSVhsv(300, 73%, 36%)
CMYKcmyk(0%, 73.1%, 0%, 63.5%)
CIE-LABlab(23.04, 39.66, -25.06)
CIE-LCHlch(23.04, 46.91, 327.71°)
OKLaboklab(35.37% 0.1106 -0.0693)
OKLCHoklch(35.37% 0.131 327.9)
XYZxyz(6.8375, 3.8132, 10.7297)
Luminance0.0381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D195D #195D19
analogous
#3B195D #5D195D #5D193B
triadic
#5D195D #5D5D19 #195D5D
tetradic
#5D195D #5D3B19 #195D19 #193B5D
square
#5D195D #5D3B19 #195D19 #193B5D
split-complementary
#5D195D #3B5D19 #195D3B
monochromatic
#180618 #2D0C2D #5D195D #8D268D #BD33BD

Accessibility & contrast

On white

11.91
#5D195D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5D195D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D195D
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D195D#FFFFFF#000000##FFFFFF
##5D195D1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E315F
Deuteranopia (green-blind)
#2A3A5B
Tritanopia (blue-blind)
#602339
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5d195d;
/* rgb */ color: rgb(93, 25, 93);
/* oklch */ color: oklch(35.4% 0.131 327.9);
Tailwind
colors: {
  custom: {
    50: '#8e5d8b',
    500: '#5d195d',
    950: '#000000',
  },
}
SCSS
$custom: #5d195d;
$custom-light: #8e5d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d195d",
  "rgb": {
    "r": 93,
    "g": 25,
    "b": 93
  },
  "hsl": {
    "h": 300,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.35365,
    "c": 0.13053,
    "h": 327.9
  },
  "luminance": 0.03813
}

Semantic roles & 50–950 ramp

primary
#5D195D
secondary
#3F933F
accent
#E14747
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5D195D

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

Preview Lab → · Contrast checker → · Palette generator →

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