#5D46BE#5D46BE

#5D46BE is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.8% C 0.180 H 286.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#5D46BE
RGBrgb(93, 70, 190)
HSLhsl(252, 48%, 51%)
HSVhsv(252, 63%, 75%)
CMYKcmyk(51.1%, 63.2%, 0%, 25.5%)
CIE-LABlab(38.59, 40.74, -60.04)
CIE-LCHlch(38.59, 72.56, 304.15°)
OKLaboklab(48.79% 0.051 -0.1721)
OKLCHoklch(48.79% 0.18 286.5)
XYZxyz(15.9959, 10.4244, 49.8745)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D46BE #A7BE46
analogous
#466BBE #5D46BE #9946BE
triadic
#5D46BE #BE5D46 #46BE5D
tetradic
#5D46BE #BE466B #A7BE46 #46BE99
square
#5D46BE #BE466B #A7BE46 #46BE99
split-complementary
#5D46BE #BE9946 #6BBE46
monochromatic
#302466 #463493 #5D46BE #8573CE #ACA1DE

Accessibility & contrast

On white

6.81
#5D46BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D46BE
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D46BE#FFFFFF#000000##FFFFFF
##5D46BE1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#0057BC
Tritanopia (blue-blind)
#39637B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5d46be;
/* rgb */ color: rgb(93, 70, 190);
/* oklch */ color: oklch(48.8% 0.180 286.5);
Tailwind
colors: {
  custom: {
    50: '#937bd2',
    500: '#5d46be',
    950: '#000000',
  },
}
SCSS
$custom: #5d46be;
$custom-light: #937bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d46be",
  "rgb": {
    "r": 93,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 251.5,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48789,
    "c": 0.17951,
    "h": 286.5
  },
  "luminance": 0.10425
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D46BE

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

Preview Lab → · Contrast checker → · Palette generator →

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