#5E3BBD#5E3BBD

#5E3BBD is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.2% C 0.192 H 289.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#5E3BBD
RGBrgb(94, 59, 189)
HSLhsl(256, 52%, 49%)
HSVhsv(256, 69%, 74%)
CMYKcmyk(50.3%, 68.8%, 0%, 25.9%)
CIE-LABlab(36.33, 46.80, -63.14)
CIE-LCHlch(36.33, 78.59, 306.55°)
OKLaboklab(47.15% 0.0633 -0.1812)
OKLCHoklch(47.15% 0.192 289.3)
XYZxyz(15.3627, 9.1811, 49.0969)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3BBD #9ABD3B
analogous
#3B59BD #5E3BBD #9F3BBD
triadic
#5E3BBD #BD5E3B #3BBD5E
tetradic
#5E3BBD #BD3B59 #9ABD3B #3BBD9F
square
#5E3BBD #BD3B59 #9ABD3B #3BBD9F
split-complementary
#5E3BBD #BD9F3B #59BD3B
monochromatic
#301E60 #472C8E #5E3BBD #8266CF #A895DE

Accessibility & contrast

On white

7.40
#5E3BBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5E3BBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E3BBD
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3BBD#FFFFFF#000000##FFFFFF
##5E3BBD1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#3D5C77
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5e3bbd;
/* rgb */ color: rgb(94, 59, 189);
/* oklch */ color: oklch(47.2% 0.192 289.3);
Tailwind
colors: {
  custom: {
    50: '#9474d2',
    500: '#5e3bbd',
    950: '#000000',
  },
}
SCSS
$custom: #5e3bbd;
$custom-light: #9474d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3bbd",
  "rgb": {
    "r": 94,
    "g": 59,
    "b": 189
  },
  "hsl": {
    "h": 256.154,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47154,
    "c": 0.19191,
    "h": 289.3
  },
  "luminance": 0.09182
}

Semantic roles & 50–950 ramp

primary
#5E3BBD
secondary
#B8C98B
accent
#DC4CB5
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5E3BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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