#5D4D91#5D4D91

#5D4D91 is a mid, moderate violet. Relative luminance 0.097; OKLCH L 46.8% C 0.108 H 292.6°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#5D4D91
RGBrgb(93, 77, 145)
HSLhsl(254, 31%, 44%)
HSVhsv(254, 47%, 57%)
CMYKcmyk(35.9%, 46.9%, 0%, 43.1%)
CIE-LABlab(37.26, 23.18, -35.36)
CIE-LCHlch(37.26, 42.28, 303.25°)
OKLaboklab(46.85% 0.0414 -0.0996)
OKLCHoklch(46.85% 0.108 292.6)
XYZxyz(12.2776, 9.6790, 28.0039)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4D91 #81914D
analogous
#4D5F91 #5D4D91 #7F4D91
triadic
#5D4D91 #915D4D #4D915D
tetradic
#5D4D91 #914D5F #81914D #4D917F
square
#5D4D91 #914D5F #81914D #4D917F
split-complementary
#5D4D91 #917F4D #5F914D
monochromatic
#2A2341 #433869 #5D4D91 #7B6BB0 #9F93C6

Accessibility & contrast

On white

7.15
#5D4D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#5D4D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D4D91
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4D91#FFFFFF#000000##FFFFFF
##5D4D911.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365993
Deuteranopia (green-blind)
#38568F
Tritanopia (blue-blind)
#505A68
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5d4d91;
/* rgb */ color: rgb(93, 77, 145);
/* oklch */ color: oklch(46.8% 0.108 292.6);
Tailwind
colors: {
  custom: {
    50: '#8d7fb1',
    500: '#5d4d91',
    950: '#000000',
  },
}
SCSS
$custom: #5d4d91;
$custom-light: #8d7fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4d91",
  "rgb": {
    "r": 93,
    "g": 77,
    "b": 145
  },
  "hsl": {
    "h": 254.118,
    "s": 30.631,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46846,
    "c": 0.10787,
    "h": 292.6
  },
  "luminance": 0.09679
}

Semantic roles & 50–950 ramp

primary
#5D4D91
secondary
#A8B288
accent
#C761AF
background
#F8F7FA
surface
#F0EEF5
border
#CBC9CF
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #5D4D91

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

Preview Lab → · Contrast checker → · Palette generator →

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