#5E3BBB#5E3BBB

#5E3BBB is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.0% C 0.190 H 289.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#5E3BBB
RGBrgb(94, 59, 187)
HSLhsl(256, 52%, 48%)
HSVhsv(256, 68%, 73%)
CMYKcmyk(49.7%, 68.4%, 0%, 26.7%)
CIE-LABlab(36.17, 46.23, -62.23)
CIE-LCHlch(36.17, 77.52, 306.61°)
OKLaboklab(46.99% 0.0636 -0.1785)
OKLCHoklch(46.99% 0.19 289.6)
XYZxyz(15.1471, 9.0948, 47.9614)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E3BBB #98BB3B
analogous
#3B58BB #5E3BBB #9E3BBB
triadic
#5E3BBB #BB5E3B #3BBB5E
tetradic
#5E3BBB #BB3B58 #98BB3B #3BBB9E
square
#5E3BBB #BB3B58 #98BB3B #3BBB9E
split-complementary
#5E3BBB #BB9E3B #58BB3B
monochromatic
#2F1E5E #472C8C #5E3BBB #8265CE #A893DD

Accessibility & contrast

On white

7.45
#5E3BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5E3BBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E3BBB
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E3BBB#FFFFFF#000000##FFFFFF
##5E3BBB1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#3E5B76
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5e3bbb;
/* rgb */ color: rgb(94, 59, 187);
/* oklch */ color: oklch(47.0% 0.190 289.6);
Tailwind
colors: {
  custom: {
    50: '#9473d0',
    500: '#5e3bbb',
    950: '#000000',
  },
}
SCSS
$custom: #5e3bbb;
$custom-light: #9473d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e3bbb",
  "rgb": {
    "r": 94,
    "g": 59,
    "b": 187
  },
  "hsl": {
    "h": 256.406,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46985,
    "c": 0.1895,
    "h": 289.6
  },
  "luminance": 0.09095
}

Semantic roles & 50–950 ramp

primary
#5E3BBB
secondary
#B7C88A
accent
#DB4CB4
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5E3BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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