#5E4E8F#5E4E8F

#5E4E8F is a mid, moderate violet. Relative luminance 0.098; OKLCH L 47.0% C 0.103 H 293.3°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#5E4E8F
RGBrgb(94, 78, 143)
HSLhsl(255, 29%, 43%)
HSVhsv(255, 45%, 56%)
CMYKcmyk(34.3%, 45.5%, 0%, 43.9%)
CIE-LABlab(37.50, 22.27, -33.76)
CIE-LCHlch(37.50, 40.44, 303.42°)
OKLaboklab(47.02% 0.041 -0.0949)
OKLCHoklch(47.02% 0.103 293.3)
XYZxyz(12.2971, 9.8114, 27.2272)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4E8F #7F8F4E
analogous
#4E5E8F #5E4E8F #7E4E8F
triadic
#5E4E8F #8F5E4E #4E8F5E
tetradic
#5E4E8F #8F4E5E #7F8F4E #4E8F7E
square
#5E4E8F #8F4E5E #7F8F4E #4E8F7E
split-complementary
#5E4E8F #8F7E4E #5E8F4E
monochromatic
#2A2340 #443867 #5E4E8F #7C6CAF #9F93C4

Accessibility & contrast

On white

7.09
#5E4E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#5E4E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E4E8F
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4E8F#FFFFFF#000000##FFFFFF
##5E4E8F1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395991
Deuteranopia (green-blind)
#3B578D
Tritanopia (blue-blind)
#535A67
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5e4e8f;
/* rgb */ color: rgb(94, 78, 143);
/* oklch */ color: oklch(47.0% 0.103 293.3);
Tailwind
colors: {
  custom: {
    50: '#8e7fb0',
    500: '#5e4e8f',
    950: '#000000',
  },
}
SCSS
$custom: #5e4e8f;
$custom-light: #8e7fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4e8f",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 254.769,
    "s": 29.412,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47015,
    "c": 0.10336,
    "h": 293.3
  },
  "luminance": 0.09812
}

Semantic roles & 50–950 ramp

primary
#5E4E8F
secondary
#A7B188
accent
#C662AD
background
#F8F7FA
surface
#F0EEF5
border
#CBC9CF
text
#0C0A10
muted
#7D7C7F

Preview Lab

Preview with #5E4E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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