#5E4E8C#5E4E8C

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

Color values

HEX#5E4E8C
RGBrgb(94, 78, 140)
HSLhsl(255, 28%, 43%)
HSVhsv(255, 44%, 55%)
CMYKcmyk(32.9%, 44.3%, 0%, 45.1%)
CIE-LABlab(37.34, 21.43, -32.19)
CIE-LCHlch(37.34, 38.67, 303.66°)
OKLaboklab(46.84% 0.0405 -0.0903)
OKLCHoklch(46.84% 0.099 294.1)
XYZxyz(12.0729, 9.7217, 26.0463)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4E8C #7C8C4E
analogous
#4E5D8C #5E4E8C #7D4E8C
triadic
#5E4E8C #8C5E4E #4E8C5E
tetradic
#5E4E8C #8C4E5D #7C8C4E #4E8C7D
square
#5E4E8C #8C4E5D #7C8C4E #4E8C7D
split-complementary
#5E4E8C #8C7D4E #5D8C4E
monochromatic
#29223D #443865 #5E4E8C #7C6BAC #9F92C2

Accessibility & contrast

On white

7.13
#5E4E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E4E8C
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4E8C#FFFFFF#000000##FFFFFF
##5E4E8C1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B598E
Deuteranopia (green-blind)
#3D578A
Tritanopia (blue-blind)
#545966
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5e4e8c;
/* rgb */ color: rgb(94, 78, 140);
/* oklch */ color: oklch(46.8% 0.099 294.1);
Tailwind
colors: {
  custom: {
    50: '#8d7fae',
    500: '#5e4e8c',
    950: '#000000',
  },
}
SCSS
$custom: #5e4e8c;
$custom-light: #8d7fae;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4e8c",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 140
  },
  "hsl": {
    "h": 255.484,
    "s": 28.44,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46838,
    "c": 0.09899,
    "h": 294.1
  },
  "luminance": 0.09722
}

Semantic roles & 50–950 ramp

primary
#5E4E8C
secondary
#A5AF87
accent
#C563AC
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0A10
muted
#7D7C7F

Preview Lab

Preview with #5E4E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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