#5E4E92#5E4E92

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

Color values

HEX#5E4E92
RGBrgb(94, 78, 146)
HSLhsl(254, 30%, 44%)
HSVhsv(254, 47%, 57%)
CMYKcmyk(35.6%, 46.6%, 0%, 42.7%)
CIE-LABlab(37.67, 23.12, -35.31)
CIE-LCHlch(37.67, 42.21, 303.22°)
OKLaboklab(47.2% 0.0414 -0.0994)
OKLCHoklch(47.2% 0.108 292.6)
XYZxyz(12.5274, 9.9035, 28.4401)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4E92 #82924E
analogous
#4E6092 #5E4E92 #804E92
triadic
#5E4E92 #925E4E #4E925E
tetradic
#5E4E92 #924E60 #82924E #4E9280
square
#5E4E92 #924E60 #82924E #4E9280
split-complementary
#5E4E92 #92804E #60924E
monochromatic
#2B2342 #44396A #5E4E92 #7D6CB1 #A094C6

Accessibility & contrast

On white

7.05
#5E4E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#5E4E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E4E92
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4E92#FFFFFF#000000##FFFFFF
##5E4E921.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375A94
Deuteranopia (green-blind)
#395790
Tritanopia (blue-blind)
#515B69
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5e4e92;
/* rgb */ color: rgb(94, 78, 146);
/* oklch */ color: oklch(47.2% 0.108 292.6);
Tailwind
colors: {
  custom: {
    50: '#8e80b2',
    500: '#5e4e92',
    950: '#000000',
  },
}
SCSS
$custom: #5e4e92;
$custom-light: #8e80b2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4e92",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 146
  },
  "hsl": {
    "h": 254.118,
    "s": 30.357,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47195,
    "c": 0.10773,
    "h": 292.6
  },
  "luminance": 0.09904
}

Semantic roles & 50–950 ramp

primary
#5E4E92
secondary
#A9B389
accent
#C761AF
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0C0A11
muted
#7D7C80

Preview Lab

Preview with #5E4E92

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

Preview Lab → · Contrast checker → · Palette generator →

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