#5E46BB#5E46BB

#5E46BB is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.6% C 0.176 H 287.4°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#5E46BB
RGBrgb(94, 70, 187)
HSLhsl(252, 46%, 50%)
HSVhsv(252, 63%, 73%)
CMYKcmyk(49.7%, 62.6%, 0%, 26.7%)
CIE-LABlab(38.46, 40.03, -58.50)
CIE-LCHlch(38.46, 70.89, 304.38°)
OKLaboklab(48.64% 0.0526 -0.1675)
OKLCHoklch(48.64% 0.176 287.4)
XYZxyz(15.7733, 10.3471, 48.1702)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E46BB #A3BB46
analogous
#4668BB #5E46BB #9946BB
triadic
#5E46BB #BB5E46 #46BB5E
tetradic
#5E46BB #BB4668 #A3BB46 #46BB99
square
#5E46BB #BB4668 #A3BB46 #46BB99
split-complementary
#5E46BB #BB9946 #68BB46
monochromatic
#312462 #47358F #5E46BB #8573CB #ACA0DC

Accessibility & contrast

On white

6.84
#5E46BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5E46BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E46BB
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E46BB#FFFFFF#000000##FFFFFF
##5E46BB1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#3D627A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5e46bb;
/* rgb */ color: rgb(94, 70, 187);
/* oklch */ color: oklch(48.6% 0.176 287.4);
Tailwind
colors: {
  custom: {
    50: '#937bd0',
    500: '#5e46bb',
    950: '#000000',
  },
}
SCSS
$custom: #5e46bb;
$custom-light: #937bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e46bb",
  "rgb": {
    "r": 94,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 252.308,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48642,
    "c": 0.1756,
    "h": 287.4
  },
  "luminance": 0.10348
}

Semantic roles & 50–950 ramp

primary
#5E46BB
secondary
#BEC894
accent
#D652BB
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #5E46BB

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

Preview Lab → · Contrast checker → · Palette generator →

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