#5D5083#5D5083

#5D5083 is a mid, moderate violet. Relative luminance 0.097; OKLCH L 46.6% C 0.082 H 294.7°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#5D5083
RGBrgb(93, 80, 131)
HSLhsl(255, 24%, 41%)
HSVhsv(255, 39%, 51%)
CMYKcmyk(29%, 38.9%, 0%, 48.6%)
CIE-LABlab(37.30, 17.39, -26.75)
CIE-LCHlch(37.30, 31.90, 303.02°)
OKLaboklab(46.64% 0.0344 -0.0746)
OKLCHoklch(46.64% 0.082 294.7)
XYZxyz(11.4786, 9.7030, 22.7364)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5083 #768350
analogous
#505D83 #5D5083 #775083
triadic
#5D5083 #835D50 #50835D
tetradic
#5D5083 #83505D #768350 #508377
square
#5D5083 #83505D #768350 #508377
split-complementary
#5D5083 #837750 #5D8350
monochromatic
#272237 #42395D #5D5083 #7A6BA5 #9C91BC

Accessibility & contrast

On white

7.14
#5D5083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D5083
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5083#FFFFFF#000000##FFFFFF
##5D50831.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425885
Deuteranopia (green-blind)
#445782
Tritanopia (blue-blind)
#555963
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5d5083;
/* rgb */ color: rgb(93, 80, 131);
/* oklch */ color: oklch(46.6% 0.082 294.7);
Tailwind
colors: {
  custom: {
    50: '#8c81a7',
    500: '#5d5083',
    950: '#000000',
  },
}
SCSS
$custom: #5d5083;
$custom-light: #8c81a7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5083",
  "rgb": {
    "r": 93,
    "g": 80,
    "b": 131
  },
  "hsl": {
    "h": 255.294,
    "s": 24.171,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46637,
    "c": 0.08211,
    "h": 294.7
  },
  "luminance": 0.09703
}

Semantic roles & 50–950 ramp

primary
#5D5083
secondary
#A0A986
accent
#C167AA
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A0F
muted
#7D7C7F

Preview Lab

Preview with #5D5083

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

Preview Lab → · Contrast checker → · Palette generator →

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