#5E3BC2#5E3BC2

#5E3BC2 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.6% C 0.198 H 288.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#5E3BC2
RGBrgb(94, 59, 194)
HSLhsl(256, 53%, 50%)
HSVhsv(256, 70%, 76%)
CMYKcmyk(51.5%, 69.6%, 0%, 23.9%)
CIE-LABlab(36.75, 48.23, -65.39)
CIE-LCHlch(36.75, 81.25, 306.41°)
OKLaboklab(47.58% 0.0624 -0.1878)
OKLCHoklch(47.58% 0.198 288.4)
XYZxyz(15.9148, 9.4019, 52.0047)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3BC2 #9FC23B
analogous
#3B5BC2 #5E3BC2 #A23BC2
triadic
#5E3BC2 #C25E3B #3BC25E
tetradic
#5E3BC2 #C23B5B #9FC23B #3BC2A2
square
#5E3BC2 #C23B5B #9FC23B #3BC2A2
split-complementary
#5E3BC2 #C2A23B #5BC23B
monochromatic
#311E64 #472D93 #5E3BC2 #8469D1 #AA98E0

Accessibility & contrast

On white

7.29
#5E3BC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5E3BC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E3BC2
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3BC2#FFFFFF#000000##FFFFFF
##5E3BC21.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#0053BF
Tritanopia (blue-blind)
#395E7A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5e3bc2;
/* rgb */ color: rgb(94, 59, 194);
/* oklch */ color: oklch(47.6% 0.198 288.4);
Tailwind
colors: {
  custom: {
    50: '#9574d5',
    500: '#5e3bc2',
    950: '#000000',
  },
}
SCSS
$custom: #5e3bc2;
$custom-light: #9574d5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3bc2",
  "rgb": {
    "r": 94,
    "g": 59,
    "b": 194
  },
  "hsl": {
    "h": 255.556,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.47581,
    "c": 0.19789,
    "h": 288.4
  },
  "luminance": 0.09403
}

Semantic roles & 50–950 ramp

primary
#5E3BC2
secondary
#BBCB8E
accent
#DD4BB7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5E3BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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