#5E3BC4#5E3BC4

#5E3BC4 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 47.8% C 0.200 H 288.1°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#5E3BC4
RGBrgb(94, 59, 196)
HSLhsl(255, 54%, 50%)
HSVhsv(255, 70%, 77%)
CMYKcmyk(52%, 69.9%, 0%, 23.1%)
CIE-LABlab(36.92, 48.80, -66.29)
CIE-LCHlch(36.92, 82.31, 306.36°)
OKLaboklab(47.75% 0.0621 -0.1904)
OKLCHoklch(47.75% 0.2 288.1)
XYZxyz(16.1409, 9.4924, 53.1956)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3BC4 #A1C43B
analogous
#3B5DC4 #5E3BC4 #A23BC4
triadic
#5E3BC4 #C45E3B #3BC45E
tetradic
#5E3BC4 #C43B5D #A1C43B #3BC4A2
square
#5E3BC4 #C43B5D #A1C43B #3BC4A2
split-complementary
#5E3BC4 #C4A23B #5DC43B
monochromatic
#311F66 #472D95 #5E3BC4 #856AD2 #AB99E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E3BC4#FFFFFF#000000##FFFFFF
##5E3BC41.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)
#005AC8
Deuteranopia (green-blind)
#0053C1
Tritanopia (blue-blind)
#375F7B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e3bc4;
/* rgb */ color: rgb(94, 59, 196);
/* oklch */ color: oklch(47.8% 0.200 288.1);
Tailwind
colors: {
  custom: {
    50: '#9574d7',
    500: '#5e3bc4',
    950: '#000000',
  },
}
SCSS
$custom: #5e3bc4;
$custom-light: #9574d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3bc4",
  "rgb": {
    "r": 94,
    "g": 59,
    "b": 196
  },
  "hsl": {
    "h": 255.328,
    "s": 53.725,
    "l": 50
  },
  "oklch": {
    "l": 0.47753,
    "c": 0.20026,
    "h": 288.1
  },
  "luminance": 0.09493
}

Semantic roles & 50–950 ramp

primary
#5E3BC4
secondary
#BCCC8F
accent
#DD4BB8
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5E3BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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