#5E3CBF#5E3CBF

#5E3CBF is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.5% C 0.193 H 288.7°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#5E3CBF
RGBrgb(94, 60, 191)
HSLhsl(256, 52%, 49%)
HSVhsv(256, 69%, 75%)
CMYKcmyk(50.8%, 68.6%, 0%, 25.1%)
CIE-LABlab(36.69, 46.83, -63.73)
CIE-LCHlch(36.69, 79.08, 306.31°)
OKLaboklab(47.46% 0.062 -0.1829)
OKLCHoklch(47.46% 0.193 288.7)
XYZxyz(15.6332, 9.3723, 50.2654)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3CBF #9DBF3C
analogous
#3C5BBF #5E3CBF #A03CBF
triadic
#5E3CBF #BF5E3C #3CBF5E
tetradic
#5E3CBF #BF3C5B #9DBF3C #3CBFA0
square
#5E3CBF #BF3C5B #9DBF3C #3CBFA0
split-complementary
#5E3CBF #BFA03C #5BBF3C
monochromatic
#301F62 #472D90 #5E3CBF #8368D0 #AA97DE

Accessibility & contrast

On white

7.31
#5E3CBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5E3CBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E3CBF
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3CBF#FFFFFF#000000##FFFFFF
##5E3CBF1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#0053BC
Tritanopia (blue-blind)
#3B5D79
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5e3cbf;
/* rgb */ color: rgb(94, 60, 191);
/* oklch */ color: oklch(47.5% 0.193 288.7);
Tailwind
colors: {
  custom: {
    50: '#9474d3',
    500: '#5e3cbf',
    950: '#000000',
  },
}
SCSS
$custom: #5e3cbf;
$custom-light: #9474d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3cbf",
  "rgb": {
    "r": 94,
    "g": 60,
    "b": 191
  },
  "hsl": {
    "h": 255.573,
    "s": 52.191,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47464,
    "c": 0.19312,
    "h": 288.7
  },
  "luminance": 0.09373
}

Semantic roles & 50–950 ramp

primary
#5E3CBF
secondary
#BACA8D
accent
#DC4CB6
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5E3CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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