#5D4BB0#5D4BB0

#5D4BB0 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.6% C 0.154 H 287.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#5D4BB0
RGBrgb(93, 75, 176)
HSLhsl(251, 40%, 49%)
HSVhsv(251, 57%, 69%)
CMYKcmyk(47.2%, 57.4%, 0%, 31%)
CIE-LABlab(38.71, 33.55, -51.61)
CIE-LCHlch(38.71, 61.56, 303.03°)
OKLaboklab(48.56% 0.0461 -0.1473)
OKLCHoklch(48.56% 0.154 287.4)
XYZxyz(14.8645, 10.4933, 42.3081)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4BB0 #9EB04B
analogous
#4B6CB0 #5D4BB0 #904BB0
triadic
#5D4BB0 #B05D4B #4BB05D
tetradic
#5D4BB0 #B04B6C #9EB04B #4BB090
square
#5D4BB0 #B04B6C #9EB04B #4BB090
split-complementary
#5D4BB0 #B0904B #6CB04B
monochromatic
#30265A #463985 #5D4BB0 #8274C4 #A99FD6

Accessibility & contrast

On white

6.78
#5D4BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5D4BB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4BB0
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4BB0#FFFFFF#000000##FFFFFF
##5D4BB01.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065EB3
Deuteranopia (green-blind)
#0658AE
Tritanopia (blue-blind)
#426276
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5d4bb0;
/* rgb */ color: rgb(93, 75, 176);
/* oklch */ color: oklch(48.6% 0.154 287.4);
Tailwind
colors: {
  custom: {
    50: '#917ec8',
    500: '#5d4bb0',
    950: '#000000',
  },
}
SCSS
$custom: #5d4bb0;
$custom-light: #917ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4bb0",
  "rgb": {
    "r": 93,
    "g": 75,
    "b": 176
  },
  "hsl": {
    "h": 250.693,
    "s": 40.239,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48556,
    "c": 0.15435,
    "h": 287.4
  },
  "luminance": 0.10494
}

Semantic roles & 50–950 ramp

primary
#5D4BB0
secondary
#BBC394
accent
#D058BB
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5D4BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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