#5E3EBD#5E3EBD

#5E3EBD is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.6% C 0.188 H 288.7°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#5E3EBD
RGBrgb(94, 62, 189)
HSLhsl(255, 51%, 49%)
HSVhsv(255, 67%, 74%)
CMYKcmyk(50.3%, 67.2%, 0%, 25.9%)
CIE-LABlab(36.93, 45.16, -62.17)
CIE-LCHlch(36.93, 76.84, 306.00°)
OKLaboklab(47.58% 0.0604 -0.1783)
OKLCHoklch(47.58% 0.188 288.7)
XYZxyz(15.5214, 9.4984, 49.1498)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3EBD #9DBD3E
analogous
#3E5EBD #5E3EBD #9E3EBD
triadic
#5E3EBD #BD5E3E #3EBD5E
tetradic
#5E3EBD #BD3E5E #9DBD3E #3EBD9E
square
#5E3EBD #BD3E5E #9DBD3E #3EBD9E
split-complementary
#5E3EBD #BD9E3E #5EBD3E
monochromatic
#302061 #472F8F #5E3EBD #836ACE #AA98DD

Accessibility & contrast

On white

7.24
#5E3EBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5E3EBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E3EBD
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3EBD#FFFFFF#000000##FFFFFF
##5E3EBD1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#3C5E78
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e3ebd;
/* rgb */ color: rgb(94, 62, 189);
/* oklch */ color: oklch(47.6% 0.188 288.7);
Tailwind
colors: {
  custom: {
    50: '#9475d2',
    500: '#5e3ebd',
    950: '#000000',
  },
}
SCSS
$custom: #5e3ebd;
$custom-light: #9475d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3ebd",
  "rgb": {
    "r": 94,
    "g": 62,
    "b": 189
  },
  "hsl": {
    "h": 255.118,
    "s": 50.598,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47582,
    "c": 0.18828,
    "h": 288.7
  },
  "luminance": 0.09499
}

Semantic roles & 50–950 ramp

primary
#5E3EBD
secondary
#BAC98E
accent
#DA4EB7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5E3EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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