#5E3BD2#5E3BD2

#5E3BD2 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.0% C 0.217 H 285.9°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#5E3BD2
RGBrgb(94, 59, 210)
HSLhsl(254, 63%, 53%)
HSVhsv(254, 72%, 82%)
CMYKcmyk(55.2%, 71.9%, 0%, 17.6%)
CIE-LABlab(38.13, 52.81, -72.43)
CIE-LCHlch(38.13, 89.64, 306.09°)
OKLaboklab(48.99% 0.0593 -0.2084)
OKLCHoklch(48.99% 0.217 285.9)
XYZxyz(17.8094, 10.1598, 61.9829)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3BD2 #AFD23B
analogous
#3B64D2 #5E3BD2 #A93BD2
triadic
#5E3BD2 #D25E3B #3BD25E
tetradic
#5E3BD2 #D23B64 #AFD23B #3BD2A9
square
#5E3BD2 #D23B64 #AFD23B #3BD2A9
split-complementary
#5E3BD2 #D2A93B #64D23B
monochromatic
#311B77 #4527A9 #5E3BD2 #876DDD #B09FE9

Accessibility & contrast

On white

6.93
#5E3BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#5E3BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E3BD2
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3BD2#FFFFFF#000000##FFFFFF
##5E3BD21.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED6
Deuteranopia (green-blind)
#0055CF
Tritanopia (blue-blind)
#296483
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5e3bd2;
/* rgb */ color: rgb(94, 59, 210);
/* oklch */ color: oklch(49.0% 0.217 285.9);
Tailwind
colors: {
  custom: {
    50: '#9774e1',
    500: '#5e3bd2',
    950: '#000000',
  },
}
SCSS
$custom: #5e3bd2;
$custom-light: #9774e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3bd2",
  "rgb": {
    "r": 94,
    "g": 59,
    "b": 210
  },
  "hsl": {
    "h": 253.907,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48987,
    "c": 0.21668,
    "h": 285.9
  },
  "luminance": 0.10161
}

Semantic roles & 50–950 ramp

primary
#5E3BD2
secondary
#C6D594
accent
#E642C0
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #5E3BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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