#5E5083#5E5083

#5E5083 is a mid, moderate violet. Relative luminance 0.098; OKLCH L 46.7% C 0.082 H 295.7°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#5E5083
RGBrgb(94, 80, 131)
HSLhsl(256, 24%, 41%)
HSVhsv(256, 39%, 51%)
CMYKcmyk(28.2%, 38.9%, 0%, 48.6%)
CIE-LABlab(37.40, 17.70, -26.59)
CIE-LCHlch(37.40, 31.95, 303.65°)
OKLaboklab(46.73% 0.0356 -0.0741)
OKLCHoklch(46.73% 0.082 295.7)
XYZxyz(11.5805, 9.7556, 22.7412)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5083 #758350
analogous
#505C83 #5E5083 #785083
triadic
#5E5083 #835E50 #50835E
tetradic
#5E5083 #83505C #758350 #508378
square
#5E5083 #83505C #758350 #508378
split-complementary
#5E5083 #837850 #5C8350
monochromatic
#272237 #43395D #5E5083 #7B6BA5 #9D91BC

Accessibility & contrast

On white

7.12
#5E5083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#5E5083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5083
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5083#FFFFFF#000000##FFFFFF
##5E50831.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e5083;
/* rgb */ color: rgb(94, 80, 131);
/* oklch */ color: oklch(46.7% 0.082 295.7);
Tailwind
colors: {
  custom: {
    50: '#8d81a7',
    500: '#5e5083',
    950: '#000000',
  },
}
SCSS
$custom: #5e5083;
$custom-light: #8d81a7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5083",
  "rgb": {
    "r": 94,
    "g": 80,
    "b": 131
  },
  "hsl": {
    "h": 256.471,
    "s": 24.171,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46733,
    "c": 0.08222,
    "h": 295.7
  },
  "luminance": 0.09756
}

Semantic roles & 50–950 ramp

primary
#5E5083
secondary
#9FA986
accent
#C167A8
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A0F
muted
#7D7C7F

Preview Lab

Preview with #5E5083

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

Preview Lab → · Contrast checker → · Palette generator →

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