#5D145D#5D145D

#5D145D is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.137 H 328.0°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#5D145D
RGBrgb(93, 20, 93)
HSLhsl(300, 65%, 22%)
HSVhsv(300, 78%, 36%)
CMYKcmyk(0%, 78.5%, 0%, 63.5%)
CIE-LABlab(22.37, 41.58, -26.14)
CIE-LCHlch(22.37, 49.11, 327.85°)
OKLaboklab(34.88% 0.116 -0.0724)
OKLCHoklch(34.88% 0.137 328)
XYZxyz(6.7401, 3.6183, 10.6972)
Luminance0.0362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D145D #145D14
analogous
#39145D #5D145D #5D1439
triadic
#5D145D #5D5D14 #145D5D
tetradic
#5D145D #5D3914 #145D14 #14395D
square
#5D145D #5D3914 #145D14 #14395D
split-complementary
#5D145D #395D14 #145D39
monochromatic
#190519 #2B092B #5D145D #8F1F8F #C22AC2

Accessibility & contrast

On white

12.18
#5D145D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#5D145D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D145D
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D145D#FFFFFF#000000##FFFFFF
##5D145D1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052F5F
Deuteranopia (green-blind)
#28395B
Tritanopia (blue-blind)
#602037
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5d145d;
/* rgb */ color: rgb(93, 20, 93);
/* oklch */ color: oklch(34.9% 0.137 328.0);
Tailwind
colors: {
  custom: {
    50: '#8e5b8b',
    500: '#5d145d',
    950: '#000000',
  },
}
SCSS
$custom: #5d145d;
$custom-light: #8e5b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d145d",
  "rgb": {
    "r": 93,
    "g": 20,
    "b": 93
  },
  "hsl": {
    "h": 300,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.3488,
    "c": 0.13677,
    "h": 328
  },
  "luminance": 0.03618
}

Semantic roles & 50–950 ramp

primary
#5D145D
secondary
#389538
accent
#E84040
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5D145D

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

Preview Lab → · Contrast checker → · Palette generator →

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