#5D145C#5D145C

#5D145C is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.8% C 0.136 H 328.6°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#5D145C
RGBrgb(93, 20, 92)
HSLhsl(301, 65%, 22%)
HSVhsv(301, 78%, 36%)
CMYKcmyk(0%, 78.5%, 1.1%, 63.5%)
CIE-LABlab(22.30, 41.40, -25.57)
CIE-LCHlch(22.30, 48.66, 328.30°)
OKLaboklab(34.82% 0.116 -0.0708)
OKLCHoklch(34.82% 0.136 328.6)
XYZxyz(6.6961, 3.6007, 10.4655)
Luminance0.0360 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D145C #145D15
analogous
#3A145D #5D145C #5D1438
triadic
#5D145C #5C5D14 #145C5D
tetradic
#5D145C #5D3A14 #145D15 #14385D
square
#5D145C #5D3A14 #145D15 #14385D
split-complementary
#5D145C #385D14 #145D3A
monochromatic
#190519 #2B092A #5D145C #8F1F8E #C22AC0

Accessibility & contrast

On white

12.21
#5D145C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D145C
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D145C#FFFFFF#000000##FFFFFF
##5D145C1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072F5E
Deuteranopia (green-blind)
#29395A
Tritanopia (blue-blind)
#601F37
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5d145c;
/* rgb */ color: rgb(93, 20, 92);
/* oklch */ color: oklch(34.8% 0.136 328.6);
Tailwind
colors: {
  custom: {
    50: '#8e5b8a',
    500: '#5d145c',
    950: '#000000',
  },
}
SCSS
$custom: #5d145c;
$custom-light: #8e5b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d145c",
  "rgb": {
    "r": 93,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 300.822,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.34815,
    "c": 0.13592,
    "h": 328.6
  },
  "luminance": 0.036
}

Semantic roles & 50–950 ramp

primary
#5D145C
secondary
#389539
accent
#E84340
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0D040C
muted
#7D797D

Preview Lab

Preview with #5D145C

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

Preview Lab → · Contrast checker → · Palette generator →

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