#5D146E#5D146E

#5D146E is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.1% C 0.152 H 319.0°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#5D146E
RGBrgb(93, 20, 110)
HSLhsl(289, 69%, 25%)
HSVhsv(289, 82%, 43%)
CMYKcmyk(15.5%, 81.8%, 0%, 56.9%)
CIE-LABlab(23.52, 44.87, -35.42)
CIE-LCHlch(23.52, 57.17, 321.71°)
OKLaboklab(36.07% 0.1147 -0.0995)
OKLCHoklch(36.07% 0.152 319)
XYZxyz(7.5785, 3.9536, 15.1128)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D146E #256E14
analogous
#30146E #5D146E #6E1452
triadic
#5D146E #6E5D14 #146E5D
tetradic
#5D146E #6E3014 #256E14 #14526E
square
#5D146E #6E3014 #256E14 #14526E
split-complementary
#5D146E #526E14 #146E30
monochromatic
#16051A #310B3A #5D146E #891DA2 #B527D6

Accessibility & contrast

On white

11.73
#5D146E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5D146E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D146E
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D146E#FFFFFF#000000##FFFFFF
##5D146E1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#1B3A6C
Tritanopia (blue-blind)
#5D2841
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5d146e;
/* rgb */ color: rgb(93, 20, 110);
/* oklch */ color: oklch(36.1% 0.152 319.0);
Tailwind
colors: {
  custom: {
    50: '#8e5b98',
    500: '#5d146e',
    950: '#000000',
  },
}
SCSS
$custom: #5d146e;
$custom-light: #8e5b98;
$custom-dark: #000000;
JSON
{
  "hex": "#5d146e",
  "rgb": {
    "r": 93,
    "g": 20,
    "b": 110
  },
  "hsl": {
    "h": 288.667,
    "s": 69.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36065,
    "c": 0.15184,
    "h": 319
  },
  "luminance": 0.03953
}

Semantic roles & 50–950 ramp

primary
#5D146E
secondary
#4DA539
accent
#EC3C5D
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5D146E

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

Preview Lab → · Contrast checker → · Palette generator →

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