#5D48BC#5D48BC

#5D48BC is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.0% C 0.174 H 286.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#5D48BC
RGBrgb(93, 72, 188)
HSLhsl(251, 46%, 51%)
HSVhsv(251, 62%, 74%)
CMYKcmyk(50.5%, 61.7%, 0%, 26.3%)
CIE-LABlab(38.88, 38.96, -58.40)
CIE-LCHlch(38.88, 70.20, 303.71°)
OKLaboklab(48.95% 0.0491 -0.1673)
OKLCHoklch(48.95% 0.174 286.4)
XYZxyz(15.9060, 10.5920, 48.7735)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D48BC #A7BC48
analogous
#486DBC #5D48BC #9748BC
triadic
#5D48BC #BC5D48 #48BC5D
tetradic
#5D48BC #BC486D #A7BC48 #48BC97
square
#5D48BC #BC486D #A7BC48 #48BC97
split-complementary
#5D48BC #BC9748 #6DBC48
monochromatic
#302565 #463592 #5D48BC #8575CC #ACA2DD

Accessibility & contrast

On white

6.73
#5D48BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5D48BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D48BC
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D48BC#FFFFFF#000000##FFFFFF
##5D48BC1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#3A637B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5d48bc;
/* rgb */ color: rgb(93, 72, 188);
/* oklch */ color: oklch(49.0% 0.174 286.4);
Tailwind
colors: {
  custom: {
    50: '#937cd1',
    500: '#5d48bc',
    950: '#000000',
  },
}
SCSS
$custom: #5d48bc;
$custom-light: #937cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d48bc",
  "rgb": {
    "r": 93,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 250.862,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48954,
    "c": 0.17432,
    "h": 286.4
  },
  "luminance": 0.10593
}

Semantic roles & 50–950 ramp

primary
#5D48BC
secondary
#C0CA96
accent
#D652BE
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #5D48BC

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

Preview Lab → · Contrast checker → · Palette generator →

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