#5E3BD9#5E3BD9

#5E3BD9 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.6% C 0.225 H 284.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#5E3BD9
RGBrgb(94, 59, 217)
HSLhsl(253, 68%, 54%)
HSVhsv(253, 73%, 85%)
CMYKcmyk(56.7%, 72.8%, 0%, 14.9%)
CIE-LABlab(38.75, 54.80, -75.44)
CIE-LCHlch(38.75, 93.24, 306.00°)
OKLaboklab(49.62% 0.0577 -0.2172)
OKLCHoklch(49.62% 0.225 284.9)
XYZxyz(18.7006, 10.5162, 66.6766)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3BD9 #B6D93B
analogous
#3B67D9 #5E3BD9 #AD3BD9
triadic
#5E3BD9 #D95E3B #3BD95E
tetradic
#5E3BD9 #D93B67 #B6D93B #3BD9AD
square
#5E3BD9 #D93B67 #B6D93B #3BD9AD
split-complementary
#5E3BD9 #D9AD3B #67D93B
monochromatic
#301981 #4323B4 #5E3BD9 #886EE3 #B2A2ED

Accessibility & contrast

On white

6.77
#5E3BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5E3BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E3BD9
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3BD9#FFFFFF#000000##FFFFFF
##5E3BD91.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DE
Deuteranopia (green-blind)
#0056D6
Tritanopia (blue-blind)
#1E6787
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5e3bd9;
/* rgb */ color: rgb(94, 59, 217);
/* oklch */ color: oklch(49.6% 0.225 284.9);
Tailwind
colors: {
  custom: {
    50: '#9875e6',
    500: '#5e3bd9',
    950: '#000000',
  },
}
SCSS
$custom: #5e3bd9;
$custom-light: #9875e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3bd9",
  "rgb": {
    "r": 94,
    "g": 59,
    "b": 217
  },
  "hsl": {
    "h": 253.291,
    "s": 67.521,
    "l": 54.118
  },
  "oklch": {
    "l": 0.4962,
    "c": 0.22476,
    "h": 284.9
  },
  "luminance": 0.10517
}

Semantic roles & 50–950 ramp

primary
#5E3BD9
secondary
#CBDA96
accent
#EA3DC4
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5E3BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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