#5D46BF#5D46BF

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

Color values

HEX#5D46BF
RGBrgb(93, 70, 191)
HSLhsl(251, 49%, 51%)
HSVhsv(251, 63%, 75%)
CMYKcmyk(51.3%, 63.4%, 0%, 25.1%)
CIE-LABlab(38.67, 41.04, -60.51)
CIE-LCHlch(38.67, 73.11, 304.15°)
OKLaboklab(48.87% 0.0509 -0.1735)
OKLCHoklch(48.87% 0.181 286.4)
XYZxyz(16.1055, 10.4683, 50.4521)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D46BF #A8BF46
analogous
#466BBF #5D46BF #9946BF
triadic
#5D46BF #BF5D46 #46BF5D
tetradic
#5D46BF #BF466B #A8BF46 #46BF99
square
#5D46BF #BF466B #A8BF46 #46BF99
split-complementary
#5D46BF #BF9946 #6BBF46
monochromatic
#302467 #463394 #5D46BF #8573CF #ADA1DE

Accessibility & contrast

On white

6.79
#5D46BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5D46BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D46BF
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D46BF#FFFFFF#000000##FFFFFF
##5D46BF1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d46bf;
/* rgb */ color: rgb(93, 70, 191);
/* oklch */ color: oklch(48.9% 0.181 286.4);
Tailwind
colors: {
  custom: {
    50: '#937bd3',
    500: '#5d46bf',
    950: '#000000',
  },
}
SCSS
$custom: #5d46bf;
$custom-light: #937bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d46bf",
  "rgb": {
    "r": 93,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 251.405,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48869,
    "c": 0.18079,
    "h": 286.4
  },
  "luminance": 0.10469
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D46BF

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

Preview Lab → · Contrast checker → · Palette generator →

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