#5D4486#5D4486

#5D4486 is a dark, moderate violet. Relative luminance 0.082; OKLCH L 44.5% C 0.107 H 299.5°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#5D4486
RGBrgb(93, 68, 134)
HSLhsl(263, 33%, 40%)
HSVhsv(263, 49%, 53%)
CMYKcmyk(30.6%, 49.3%, 0%, 47.5%)
CIE-LABlab(34.36, 25.73, -33.23)
CIE-LCHlch(34.36, 42.03, 307.74°)
OKLaboklab(44.47% 0.0529 -0.0934)
OKLCHoklch(44.47% 0.107 299.5)
XYZxyz(10.8834, 8.1826, 23.5556)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4486 #6D8644
analogous
#444C86 #5D4486 #7E4486
triadic
#5D4486 #865D44 #44865D
tetradic
#5D4486 #86444C #6D8644 #44867E
square
#5D4486 #86444C #6D8644 #44867E
split-complementary
#5D4486 #867E44 #4C8644
monochromatic
#251B35 #412F5D #5D4486 #7A5BAC #9B84C1

Accessibility & contrast

On white

7.96
#5D4486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5D4486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D4486
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4486#FFFFFF#000000##FFFFFF
##5D44861.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5188
Deuteranopia (green-blind)
#355084
Tritanopia (blue-blind)
#55505E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5d4486;
/* rgb */ color: rgb(93, 68, 134);
/* oklch */ color: oklch(44.5% 0.107 299.5);
Tailwind
colors: {
  custom: {
    50: '#8d78a9',
    500: '#5d4486',
    950: '#000000',
  },
}
SCSS
$custom: #5d4486;
$custom-light: #8d78a9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4486",
  "rgb": {
    "r": 93,
    "g": 68,
    "b": 134
  },
  "hsl": {
    "h": 262.727,
    "s": 32.673,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44466,
    "c": 0.10732,
    "h": 299.5
  },
  "luminance": 0.08183
}

Semantic roles & 50–950 ramp

primary
#5D4486
secondary
#99AC7A
accent
#C95FA1
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0910
muted
#7D7B7F

Preview Lab

Preview with #5D4486

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

Preview Lab → · Contrast checker → · Palette generator →

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