#5D14A0#5D14A0

#5D14A0 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.3% C 0.199 H 300.4°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#5D14A0
RGBrgb(93, 20, 160)
HSLhsl(271, 78%, 35%)
HSVhsv(271, 88%, 63%)
CMYKcmyk(41.9%, 87.5%, 0%, 37.3%)
CIE-LABlab(27.75, 55.87, -59.85)
CIE-LCHlch(27.75, 81.88, 313.03°)
OKLaboklab(40.32% 0.1005 -0.1713)
OKLCHoklch(40.32% 0.199 300.4)
XYZxyz(11.1079, 5.3654, 33.7013)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D14A0 #57A014
analogous
#1714A0 #5D14A0 #A0149D
triadic
#5D14A0 #A05D14 #14A05D
tetradic
#5D14A0 #A01714 #57A014 #149DA0
square
#5D14A0 #A01714 #57A014 #149DA0
split-complementary
#5D14A0 #9DA014 #14A017
monochromatic
#1E0633 #3D0D6A #5D14A0 #7D1BD6 #9B46E8

Accessibility & contrast

On white

10.13
#5D14A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#5D14A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D14A0
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D14A0#FFFFFF#000000##FFFFFF
##5D14A01.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#00409E
Tritanopia (blue-blind)
#4D3F5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5d14a0;
/* rgb */ color: rgb(93, 20, 160);
/* oklch */ color: oklch(40.3% 0.199 300.4);
Tailwind
colors: {
  custom: {
    50: '#925fbd',
    500: '#5d14a0',
    950: '#000000',
  },
}
SCSS
$custom: #5d14a0;
$custom-light: #925fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d14a0",
  "rgb": {
    "r": 93,
    "g": 20,
    "b": 160
  },
  "hsl": {
    "h": 271.286,
    "s": 77.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4032,
    "c": 0.1986,
    "h": 300.4
  },
  "luminance": 0.05366
}

Semantic roles & 50–950 ramp

primary
#5D14A0
secondary
#85C947
accent
#F43490
background
#F9F5FB
surface
#F2EAF7
border
#CCC6D0
text
#0E0512
muted
#7E7981

Preview Lab

Preview with #5D14A0

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

Preview Lab → · Contrast checker → · Palette generator →

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