#5D46CC#5D46CC

#5D46CC is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.9% C 0.197 H 284.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#5D46CC
RGBrgb(93, 70, 204)
HSLhsl(250, 57%, 54%)
HSVhsv(250, 66%, 80%)
CMYKcmyk(54.4%, 65.7%, 0%, 20%)
CIE-LABlab(39.69, 44.94, -66.41)
CIE-LCHlch(39.69, 80.18, 304.09°)
OKLaboklab(49.93% 0.0495 -0.1908)
OKLCHoklch(49.93% 0.197 284.6)
XYZxyz(17.6001, 11.0661, 58.3236)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D46CC #B5CC46
analogous
#4672CC #5D46CC #A046CC
triadic
#5D46CC #CC5D46 #46CC5D
tetradic
#5D46CC #CC4672 #B5CC46 #46CCA0
square
#5D46CC #CC4672 #B5CC46 #46CCA0
split-complementary
#5D46CC #CCA046 #72CC46
monochromatic
#302177 #432EA7 #5D46CC #8776D9 #B1A6E6

Accessibility & contrast

On white

6.54
#5D46CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5D46CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D46CC
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D46CC#FFFFFF#000000##FFFFFF
##5D46CC1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#2C6883
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5d46cc;
/* rgb */ color: rgb(93, 70, 204);
/* oklch */ color: oklch(49.9% 0.197 284.6);
Tailwind
colors: {
  custom: {
    50: '#957bdd',
    500: '#5d46cc',
    950: '#000000',
  },
}
SCSS
$custom: #5d46cc;
$custom-light: #957bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d46cc",
  "rgb": {
    "r": 93,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 250.299,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49928,
    "c": 0.19714,
    "h": 284.6
  },
  "luminance": 0.11067
}

Semantic roles & 50–950 ramp

primary
#5D46CC
secondary
#CAD49A
accent
#E048C6
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5D46CC

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

Preview Lab → · Contrast checker → · Palette generator →

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