#5E3BC9#5E3BC9

#5E3BC9 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.2% C 0.206 H 287.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#5E3BC9
RGBrgb(94, 59, 201)
HSLhsl(255, 57%, 51%)
HSVhsv(255, 71%, 79%)
CMYKcmyk(53.2%, 70.6%, 0%, 21.2%)
CIE-LABlab(37.34, 50.23, -68.50)
CIE-LCHlch(37.34, 84.95, 306.25°)
OKLaboklab(48.19% 0.0611 -0.1969)
OKLCHoklch(48.19% 0.206 287.2)
XYZxyz(16.7195, 9.7238, 56.2429)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3BC9 #A6C93B
analogous
#3B5FC9 #5E3BC9 #A53BC9
triadic
#5E3BC9 #C95E3B #3BC95E
tetradic
#5E3BC9 #C93B5F #A6C93B #3BC9A5
square
#5E3BC9 #C93B5F #A6C93B #3BC9A5
split-complementary
#5E3BC9 #C9A53B #5FC93B
monochromatic
#311E6C #472B9C #5E3BC9 #856BD6 #AD9BE3

Accessibility & contrast

On white

7.13
#5E3BC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E3BC9
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3BC9#FFFFFF#000000##FFFFFF
##5E3BC91.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCD
Deuteranopia (green-blind)
#0054C6
Tritanopia (blue-blind)
#33607E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5e3bc9;
/* rgb */ color: rgb(94, 59, 201);
/* oklch */ color: oklch(48.2% 0.206 287.2);
Tailwind
colors: {
  custom: {
    50: '#9674db',
    500: '#5e3bc9',
    950: '#000000',
  },
}
SCSS
$custom: #5e3bc9;
$custom-light: #9674db;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3bc9",
  "rgb": {
    "r": 94,
    "g": 59,
    "b": 201
  },
  "hsl": {
    "h": 254.789,
    "s": 56.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48188,
    "c": 0.20617,
    "h": 287.2
  },
  "luminance": 0.09725
}

Semantic roles & 50–950 ramp

primary
#5E3BC9
secondary
#C0CF90
accent
#E048BB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #5E3BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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