#5D195E#5D195E

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

Color values

HEX#5D195E
RGBrgb(93, 25, 94)
HSLhsl(299, 58%, 23%)
HSVhsv(299, 73%, 37%)
CMYKcmyk(1.1%, 73.4%, 0%, 63.1%)
CIE-LABlab(23.10, 39.85, -25.63)
CIE-LCHlch(23.10, 47.37, 327.25°)
OKLaboklab(35.43% 0.1106 -0.071)
OKLCHoklch(35.43% 0.131 327.3)
XYZxyz(6.8821, 3.8310, 10.9645)
Luminance0.0383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D195E #1A5E19
analogous
#3A195E #5D195E #5E193C
triadic
#5D195E #5E5D19 #195E5D
tetradic
#5D195E #5E3A19 #1A5E19 #193C5E
square
#5D195E #5E3A19 #1A5E19 #193C5E
split-complementary
#5D195E #3C5E19 #195E3A
monochromatic
#180618 #2D0C2E #5D195E #8D268E #BD33BF

Accessibility & contrast

On white

11.89
#5D195E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5D195E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D195E
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D195E#FFFFFF#000000##FFFFFF
##5D195E1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d195e;
/* rgb */ color: rgb(93, 25, 94);
/* oklch */ color: oklch(35.4% 0.131 327.3);
Tailwind
colors: {
  custom: {
    50: '#8e5d8c',
    500: '#5d195e',
    950: '#000000',
  },
}
SCSS
$custom: #5d195e;
$custom-light: #8e5d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d195e",
  "rgb": {
    "r": 93,
    "g": 25,
    "b": 94
  },
  "hsl": {
    "h": 299.13,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.35429,
    "c": 0.13142,
    "h": 327.3
  },
  "luminance": 0.03831
}

Semantic roles & 50–950 ramp

primary
#5D195E
secondary
#40943F
accent
#E14749
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5D195E

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

Preview Lab → · Contrast checker → · Palette generator →

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