#5E3DC5#5E3DC5

#5E3DC5 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.1% C 0.199 H 287.6°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#5E3DC5
RGBrgb(94, 61, 197)
HSLhsl(255, 54%, 51%)
HSVhsv(255, 69%, 77%)
CMYKcmyk(52.3%, 69%, 0%, 22.7%)
CIE-LABlab(37.39, 48.02, -66.10)
CIE-LCHlch(37.39, 81.70, 306.00°)
OKLaboklab(48.12% 0.0601 -0.1899)
OKLCHoklch(48.12% 0.199 287.6)
XYZxyz(16.3599, 9.7476, 53.8319)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3DC5 #A4C53D
analogous
#3D60C5 #5E3DC5 #A23DC5
triadic
#5E3DC5 #C55E3D #3DC55E
tetradic
#5E3DC5 #C53D60 #A4C53D #3DC5A2
square
#5E3DC5 #C53D60 #A4C53D #3DC5A2
split-complementary
#5E3DC5 #C5A23D #60C53D
monochromatic
#311F68 #472D98 #5E3DC5 #856CD3 #AC9BE1

Accessibility & contrast

On white

7.12
#5E3DC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#5E3DC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E3DC5
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3DC5#FFFFFF#000000##FFFFFF
##5E3DC51.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#0054C2
Tritanopia (blue-blind)
#36607C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5e3dc5;
/* rgb */ color: rgb(94, 61, 197);
/* oklch */ color: oklch(48.1% 0.199 287.6);
Tailwind
colors: {
  custom: {
    50: '#9575d8',
    500: '#5e3dc5',
    950: '#000000',
  },
}
SCSS
$custom: #5e3dc5;
$custom-light: #9575d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3dc5",
  "rgb": {
    "r": 94,
    "g": 61,
    "b": 197
  },
  "hsl": {
    "h": 254.559,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48115,
    "c": 0.19916,
    "h": 287.6
  },
  "luminance": 0.09748
}

Semantic roles & 50–950 ramp

primary
#5E3DC5
secondary
#BECD91
accent
#DD4ABA
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5E3DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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