#5E46BF#5E46BF

#5E46BF is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.0% C 0.181 H 286.8°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#5E46BF
RGBrgb(94, 70, 191)
HSLhsl(252, 49%, 51%)
HSVhsv(252, 63%, 75%)
CMYKcmyk(50.8%, 63.4%, 0%, 25.1%)
CIE-LABlab(38.76, 41.23, -60.35)
CIE-LCHlch(38.76, 73.09, 304.34°)
OKLaboklab(48.96% 0.0523 -0.173)
OKLCHoklch(48.96% 0.181 286.8)
XYZxyz(16.2075, 10.5208, 50.4568)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E46BF #A7BF46
analogous
#466ABF #5E46BF #9A46BF
triadic
#5E46BF #BF5E46 #46BF5E
tetradic
#5E46BF #BF466A #A7BF46 #46BF9A
square
#5E46BF #BF466A #A7BF46 #46BF9A
split-complementary
#5E46BF #BF9A46 #6ABF46
monochromatic
#312467 #473394 #5E46BF #8673CF #ADA1DE

Accessibility & contrast

On white

6.76
#5E46BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E46BF
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E46BF#FFFFFF#000000##FFFFFF
##5E46BF1.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#3A637C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5e46bf;
/* rgb */ color: rgb(94, 70, 191);
/* oklch */ color: oklch(49.0% 0.181 286.8);
Tailwind
colors: {
  custom: {
    50: '#947bd3',
    500: '#5e46bf',
    950: '#000000',
  },
}
SCSS
$custom: #5e46bf;
$custom-light: #947bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e46bf",
  "rgb": {
    "r": 94,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 251.901,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48957,
    "c": 0.18071,
    "h": 286.8
  },
  "luminance": 0.10522
}

Semantic roles & 50–950 ramp

primary
#5E46BF
secondary
#C1CB96
accent
#D850BD
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5E46BF

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

Preview Lab → · Contrast checker → · Palette generator →

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