#5E3BCD#5E3BCD

#5E3BCD is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.5% C 0.211 H 286.6°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#5E3BCD
RGBrgb(94, 59, 205)
HSLhsl(254, 59%, 52%)
HSVhsv(254, 71%, 80%)
CMYKcmyk(54.1%, 71.2%, 0%, 19.6%)
CIE-LABlab(37.69, 51.38, -70.26)
CIE-LCHlch(37.69, 87.04, 306.18°)
OKLaboklab(48.54% 0.0603 -0.202)
OKLCHoklch(48.54% 0.211 286.6)
XYZxyz(17.1962, 9.9145, 58.7533)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3BCD #AACD3B
analogous
#3B61CD #5E3BCD #A73BCD
triadic
#5E3BCD #CD5E3B #3BCD5E
tetradic
#5E3BCD #CD3B61 #AACD3B #3BCDA7
square
#5E3BCD #CD3B61 #AACD3B #3BCDA7
split-complementary
#5E3BCD #CDA73B #61CD3B
monochromatic
#311D71 #4629A2 #5E3BCD #866CD9 #AE9DE6

Accessibility & contrast

On white

7.04
#5E3BCD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#5E3BCD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E3BCD
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3BCD#FFFFFF#000000##FFFFFF
##5E3BCD1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD1
Deuteranopia (green-blind)
#0054CA
Tritanopia (blue-blind)
#2F6280
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5e3bcd;
/* rgb */ color: rgb(94, 59, 205);
/* oklch */ color: oklch(48.5% 0.211 286.6);
Tailwind
colors: {
  custom: {
    50: '#9774dd',
    500: '#5e3bcd',
    950: '#000000',
  },
}
SCSS
$custom: #5e3bcd;
$custom-light: #9774dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3bcd",
  "rgb": {
    "r": 94,
    "g": 59,
    "b": 205
  },
  "hsl": {
    "h": 254.384,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48541,
    "c": 0.21086,
    "h": 286.6
  },
  "luminance": 0.09915
}

Semantic roles & 50–950 ramp

primary
#5E3BCD
secondary
#C3D292
accent
#E345BD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5E3BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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