#5E4083#5E4083

#5E4083 is a dark, moderate violet. Relative luminance 0.077; OKLCH L 43.7% C 0.110 H 302.8°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#5E4083
RGBrgb(94, 64, 131)
HSLhsl(267, 34%, 38%)
HSVhsv(267, 51%, 51%)
CMYKcmyk(28.2%, 51.1%, 0%, 48.6%)
CIE-LABlab(33.32, 27.68, -33.03)
CIE-LCHlch(33.32, 43.09, 309.96°)
OKLaboklab(43.66% 0.0597 -0.0928)
OKLCHoklch(43.66% 0.11 302.8)
XYZxyz(10.5453, 7.6852, 22.3962)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4083 #658340
analogous
#404383 #5E4083 #7F4083
triadic
#5E4083 #835E40 #40835E
tetradic
#5E4083 #834043 #658340 #40837F
square
#5E4083 #834043 #658340 #40837F
split-complementary
#5E4083 #837F40 #438340
monochromatic
#231831 #402C5A #5E4083 #7C54AC #9B7EC0

Accessibility & contrast

On white

8.28
#5E4083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#5E4083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E4083
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4083#FFFFFF#000000##FFFFFF
##5E40831.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4E85
Deuteranopia (green-blind)
#334E81
Tritanopia (blue-blind)
#574C5B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5e4083;
/* rgb */ color: rgb(94, 64, 131);
/* oklch */ color: oklch(43.7% 0.110 302.8);
Tailwind
colors: {
  custom: {
    50: '#8e75a7',
    500: '#5e4083',
    950: '#000000',
  },
}
SCSS
$custom: #5e4083;
$custom-light: #8e75a7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4083",
  "rgb": {
    "r": 94,
    "g": 64,
    "b": 131
  },
  "hsl": {
    "h": 266.866,
    "s": 34.359,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43658,
    "c": 0.11032,
    "h": 302.8
  },
  "luminance": 0.07685
}

Semantic roles & 50–950 ramp

primary
#5E4083
secondary
#92AA75
accent
#CA5D9A
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C080F
muted
#7D7B7F

Preview Lab

Preview with #5E4083

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

Preview Lab → · Contrast checker → · Palette generator →

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