#5D4FA0#5D4FA0

#5D4FA0 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.2% C 0.126 H 288.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#5D4FA0
RGBrgb(93, 79, 160)
HSLhsl(250, 34%, 47%)
HSVhsv(250, 51%, 63%)
CMYKcmyk(41.9%, 50.6%, 0%, 37.3%)
CIE-LABlab(38.65, 26.30, -42.19)
CIE-LCHlch(38.65, 49.72, 301.94°)
OKLaboklab(48.18% 0.0405 -0.1196)
OKLCHoklch(48.18% 0.126 288.7)
XYZxyz(13.6536, 10.4567, 34.5499)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4FA0 #92A04F
analogous
#4F6AA0 #5D4FA0 #864FA0
triadic
#5D4FA0 #A05D4F #4FA05D
tetradic
#5D4FA0 #A04F6A #92A04F #4FA086
square
#5D4FA0 #A04F6A #92A04F #4FA086
split-complementary
#5D4FA0 #A0864F #6AA04F
monochromatic
#2D274E #453B77 #5D4FA0 #7F73BA #A49CCE

Accessibility & contrast

On white

6.79
#5D4FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5D4FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4FA0
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4FA0#FFFFFF#000000##FFFFFF
##5D4FA01.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5DA3
Deuteranopia (green-blind)
#2E599E
Tritanopia (blue-blind)
#4A6070
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5d4fa0;
/* rgb */ color: rgb(93, 79, 160);
/* oklch */ color: oklch(48.2% 0.126 288.7);
Tailwind
colors: {
  custom: {
    50: '#8f80bc',
    500: '#5d4fa0',
    950: '#000000',
  },
}
SCSS
$custom: #5d4fa0;
$custom-light: #8f80bc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4fa0",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 160
  },
  "hsl": {
    "h": 250.37,
    "s": 33.891,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48176,
    "c": 0.12626,
    "h": 288.7
  },
  "luminance": 0.10457
}

Semantic roles & 50–950 ramp

primary
#5D4FA0
secondary
#B3BB90
accent
#CA5EB7
background
#F9F7FB
surface
#F1EEF6
border
#CBC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #5D4FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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