#5D4BAE#5D4BAE

#5D4BAE is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.4% C 0.152 H 287.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#5D4BAE
RGBrgb(93, 75, 174)
HSLhsl(251, 40%, 49%)
HSVhsv(251, 57%, 68%)
CMYKcmyk(46.6%, 56.9%, 0%, 31.8%)
CIE-LABlab(38.58, 32.95, -50.65)
CIE-LCHlch(38.58, 60.42, 303.05°)
OKLaboklab(48.41% 0.0461 -0.1445)
OKLCHoklch(48.41% 0.152 287.7)
XYZxyz(14.6681, 10.4147, 41.2736)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4BAE #9CAE4B
analogous
#4B6BAE #5D4BAE #8F4BAE
triadic
#5D4BAE #AE5D4B #4BAE5D
tetradic
#5D4BAE #AE4B6B #9CAE4B #4BAE8F
square
#5D4BAE #AE4B6B #9CAE4B #4BAE8F
split-complementary
#5D4BAE #AE8F4B #6BAE4B
monochromatic
#2F2658 #463983 #5D4BAE #8273C3 #A89ED5

Accessibility & contrast

On white

6.81
#5D4BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5D4BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4BAE
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4BAE#FFFFFF#000000##FFFFFF
##5D4BAE1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5DB1
Deuteranopia (green-blind)
#0E58AC
Tritanopia (blue-blind)
#436175
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5d4bae;
/* rgb */ color: rgb(93, 75, 174);
/* oklch */ color: oklch(48.4% 0.152 287.7);
Tailwind
colors: {
  custom: {
    50: '#917ec7',
    500: '#5d4bae',
    950: '#000000',
  },
}
SCSS
$custom: #5d4bae;
$custom-light: #917ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4bae",
  "rgb": {
    "r": 93,
    "g": 75,
    "b": 174
  },
  "hsl": {
    "h": 250.909,
    "s": 39.759,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48411,
    "c": 0.15165,
    "h": 287.7
  },
  "luminance": 0.10415
}

Semantic roles & 50–950 ramp

primary
#5D4BAE
secondary
#B9C293
accent
#D058BA
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5D4BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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