#5E3DC2#5E3DC2

#5E3DC2 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.9% C 0.196 H 288.1°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#5E3DC2
RGBrgb(94, 61, 194)
HSLhsl(255, 52%, 50%)
HSVhsv(255, 69%, 76%)
CMYKcmyk(51.5%, 68.6%, 0%, 23.9%)
CIE-LABlab(37.14, 47.16, -64.76)
CIE-LCHlch(37.14, 80.11, 306.06°)
OKLaboklab(47.86% 0.0606 -0.1859)
OKLCHoklch(47.86% 0.196 288.1)
XYZxyz(16.0196, 9.6115, 52.0396)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3DC2 #A1C23D
analogous
#3D5FC2 #5E3DC2 #A03DC2
triadic
#5E3DC2 #C25E3D #3DC25E
tetradic
#5E3DC2 #C23D5F #A1C23D #3DC2A0
square
#5E3DC2 #C23D5F #A1C23D #3DC2A0
split-complementary
#5E3DC2 #C2A03D #5FC23D
monochromatic
#312065 #472E93 #5E3DC2 #856CD1 #AB9ADF

Accessibility & contrast

On white

7.19
#5E3DC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#5E3DC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E3DC2
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3DC2#FFFFFF#000000##FFFFFF
##5E3DC21.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#0054BF
Tritanopia (blue-blind)
#395F7B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e3dc2;
/* rgb */ color: rgb(94, 61, 194);
/* oklch */ color: oklch(47.9% 0.196 288.1);
Tailwind
colors: {
  custom: {
    50: '#9575d5',
    500: '#5e3dc2',
    950: '#000000',
  },
}
SCSS
$custom: #5e3dc2;
$custom-light: #9575d5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3dc2",
  "rgb": {
    "r": 94,
    "g": 61,
    "b": 194
  },
  "hsl": {
    "h": 254.887,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.47859,
    "c": 0.19555,
    "h": 288.1
  },
  "luminance": 0.09612
}

Semantic roles & 50–950 ramp

primary
#5E3DC2
secondary
#BCCB90
accent
#DC4CB8
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5E3DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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