#5D4BAF#5D4BAF

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

Color values

HEX#5D4BAF
RGBrgb(93, 75, 175)
HSLhsl(251, 40%, 49%)
HSVhsv(251, 57%, 69%)
CMYKcmyk(46.9%, 57.1%, 0%, 31.4%)
CIE-LABlab(38.64, 33.25, -51.13)
CIE-LCHlch(38.64, 60.99, 303.04°)
OKLaboklab(48.48% 0.0461 -0.1459)
OKLCHoklch(48.48% 0.153 287.6)
XYZxyz(14.7659, 10.4538, 41.7889)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4BAF #9DAF4B
analogous
#4B6BAF #5D4BAF #8F4BAF
triadic
#5D4BAF #AF5D4B #4BAF5D
tetradic
#5D4BAF #AF4B6B #9DAF4B #4BAF8F
square
#5D4BAF #AF4B6B #9DAF4B #4BAF8F
split-complementary
#5D4BAF #AF8F4B #6BAF4B
monochromatic
#2F2659 #463984 #5D4BAF #8274C3 #A99FD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D4BAF#FFFFFF#000000##FFFFFF
##5D4BAF1.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)
#0A5DB2
Deuteranopia (green-blind)
#0A58AD
Tritanopia (blue-blind)
#436175
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5d4baf;
/* rgb */ color: rgb(93, 75, 175);
/* oklch */ color: oklch(48.5% 0.153 287.6);
Tailwind
colors: {
  custom: {
    50: '#917ec7',
    500: '#5d4baf',
    950: '#000000',
  },
}
SCSS
$custom: #5d4baf;
$custom-light: #917ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4baf",
  "rgb": {
    "r": 93,
    "g": 75,
    "b": 175
  },
  "hsl": {
    "h": 250.8,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48483,
    "c": 0.153,
    "h": 287.6
  },
  "luminance": 0.10454
}

Semantic roles & 50–950 ramp

primary
#5D4BAF
secondary
#BAC293
accent
#D058BA
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5D4BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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