#5D4FA3#5D4FA3

#5D4FA3 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 48.4% C 0.131 H 288.2°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#5D4FA3
RGBrgb(93, 79, 163)
HSLhsl(250, 35%, 47%)
HSVhsv(250, 52%, 64%)
CMYKcmyk(42.9%, 51.5%, 0%, 36.1%)
CIE-LABlab(38.83, 27.19, -43.69)
CIE-LCHlch(38.83, 51.46, 301.90°)
OKLaboklab(48.37% 0.0407 -0.124)
OKLCHoklch(48.37% 0.131 288.2)
XYZxyz(13.9192, 10.5630, 35.9487)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4FA3 #95A34F
analogous
#4F6BA3 #5D4FA3 #874FA3
triadic
#5D4FA3 #A35D4F #4FA35D
tetradic
#5D4FA3 #A34F6B #95A34F #4FA387
square
#5D4FA3 #A34F6B #95A34F #4FA387
split-complementary
#5D4FA3 #A3874F #6BA34F
monochromatic
#2E2751 #453B7A #5D4FA3 #8074BB #A59DCF

Accessibility & contrast

On white

6.75
#5D4FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5D4FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4FA3
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4FA3#FFFFFF#000000##FFFFFF
##5D4FA31.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5DA6
Deuteranopia (green-blind)
#2B59A1
Tritanopia (blue-blind)
#496171
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5d4fa3;
/* rgb */ color: rgb(93, 79, 163);
/* oklch */ color: oklch(48.4% 0.131 288.2);
Tailwind
colors: {
  custom: {
    50: '#8f80bf',
    500: '#5d4fa3',
    950: '#000000',
  },
}
SCSS
$custom: #5d4fa3;
$custom-light: #8f80bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4fa3",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 163
  },
  "hsl": {
    "h": 250,
    "s": 34.711,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48373,
    "c": 0.13051,
    "h": 288.2
  },
  "luminance": 0.10563
}

Semantic roles & 50–950 ramp

primary
#5D4FA3
secondary
#B5BC91
accent
#CB5DB8
background
#F9F7FB
surface
#F1EEF7
border
#CBC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #5D4FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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