#5E3BD4#5E3BD4

#5E3BD4 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.2% C 0.219 H 285.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#5E3BD4
RGBrgb(94, 59, 212)
HSLhsl(254, 64%, 53%)
HSVhsv(254, 72%, 83%)
CMYKcmyk(55.7%, 72.2%, 0%, 16.9%)
CIE-LABlab(38.31, 53.38, -73.29)
CIE-LCHlch(38.31, 90.67, 306.06°)
OKLaboklab(49.17% 0.0588 -0.2109)
OKLCHoklch(49.17% 0.219 285.6)
XYZxyz(18.0601, 10.2600, 63.3033)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3BD4 #B1D43B
analogous
#3B65D4 #5E3BD4 #AA3BD4
triadic
#5E3BD4 #D45E3B #3BD45E
tetradic
#5E3BD4 #D43B65 #B1D43B #3BD4AA
square
#5E3BD4 #D43B65 #B1D43B #3BD4AA
split-complementary
#5E3BD4 #D4AA3B #65D43B
monochromatic
#301B7A #4426AC #5E3BD4 #876DDF #B09FEA

Accessibility & contrast

On white

6.88
#5E3BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5E3BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E3BD4
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3BD4#FFFFFF#000000##FFFFFF
##5E3BD41.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED8
Deuteranopia (green-blind)
#0056D1
Tritanopia (blue-blind)
#266584
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5e3bd4;
/* rgb */ color: rgb(94, 59, 212);
/* oklch */ color: oklch(49.2% 0.219 285.6);
Tailwind
colors: {
  custom: {
    50: '#9874e2',
    500: '#5e3bd4',
    950: '#000000',
  },
}
SCSS
$custom: #5e3bd4;
$custom-light: #9874e2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3bd4",
  "rgb": {
    "r": 94,
    "g": 59,
    "b": 212
  },
  "hsl": {
    "h": 253.725,
    "s": 64.017,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49167,
    "c": 0.219,
    "h": 285.6
  },
  "luminance": 0.10261
}

Semantic roles & 50–950 ramp

primary
#5E3BD4
secondary
#C7D694
accent
#E741C1
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5E3BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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