#5E3BD3#5E3BD3

#5E3BD3 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.1% C 0.218 H 285.7°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#5E3BD3
RGBrgb(94, 59, 211)
HSLhsl(254, 63%, 53%)
HSVhsv(254, 72%, 83%)
CMYKcmyk(55.5%, 72%, 0%, 17.3%)
CIE-LABlab(38.22, 53.09, -72.86)
CIE-LCHlch(38.22, 90.15, 306.08°)
OKLaboklab(49.08% 0.0591 -0.2097)
OKLCHoklch(49.08% 0.218 285.7)
XYZxyz(17.9344, 10.2097, 62.6410)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3BD3 #B0D33B
analogous
#3B64D3 #5E3BD3 #AA3BD3
triadic
#5E3BD3 #D35E3B #3BD35E
tetradic
#5E3BD3 #D33B64 #B0D33B #3BD3AA
square
#5E3BD3 #D33B64 #B0D33B #3BD3AA
split-complementary
#5E3BD3 #D3AA3B #64D33B
monochromatic
#311B79 #4526AB #5E3BD3 #876DDE #B09FE9

Accessibility & contrast

On white

6.90
#5E3BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#5E3BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E3BD3
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3BD3#FFFFFF#000000##FFFFFF
##5E3BD31.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED7
Deuteranopia (green-blind)
#0055D0
Tritanopia (blue-blind)
#276483
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5e3bd3;
/* rgb */ color: rgb(94, 59, 211);
/* oklch */ color: oklch(49.1% 0.218 285.7);
Tailwind
colors: {
  custom: {
    50: '#9774e2',
    500: '#5e3bd3',
    950: '#000000',
  },
}
SCSS
$custom: #5e3bd3;
$custom-light: #9774e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3bd3",
  "rgb": {
    "r": 94,
    "g": 59,
    "b": 211
  },
  "hsl": {
    "h": 253.816,
    "s": 63.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49077,
    "c": 0.21785,
    "h": 285.7
  },
  "luminance": 0.10211
}

Semantic roles & 50–950 ramp

primary
#5E3BD3
secondary
#C7D694
accent
#E641C0
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0815
muted
#7F7B84

Preview Lab

Preview with #5E3BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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