#5D49BB#5D49BB

#5D49BB is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.0% C 0.172 H 286.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5D49BB
RGBrgb(93, 73, 187)
HSLhsl(251, 46%, 51%)
HSVhsv(251, 61%, 73%)
CMYKcmyk(50.3%, 61%, 0%, 26.7%)
CIE-LABlab(39.03, 38.07, -57.57)
CIE-LCHlch(39.03, 69.02, 303.48°)
OKLaboklab(49.04% 0.0481 -0.1648)
OKLCHoklch(49.04% 0.172 286.3)
XYZxyz(15.8637, 10.6793, 48.2295)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D49BB #A7BB49
analogous
#496EBB #5D49BB #9649BB
triadic
#5D49BB #BB5D49 #49BB5D
tetradic
#5D49BB #BB496E #A7BB49 #49BB96
square
#5D49BB #BB496E #A7BB49 #49BB96
split-complementary
#5D49BB #BB9649 #6EBB49
monochromatic
#302564 #463691 #5D49BB #8576CC #ACA2DC

Accessibility & contrast

On white

6.70
#5D49BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5D49BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D49BB
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D49BB#FFFFFF#000000##FFFFFF
##5D49BB1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#3B647B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5d49bb;
/* rgb */ color: rgb(93, 73, 187);
/* oklch */ color: oklch(49.0% 0.172 286.3);
Tailwind
colors: {
  custom: {
    50: '#927dd0',
    500: '#5d49bb',
    950: '#000000',
  },
}
SCSS
$custom: #5d49bb;
$custom-light: #927dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d49bb",
  "rgb": {
    "r": 93,
    "g": 73,
    "b": 187
  },
  "hsl": {
    "h": 250.526,
    "s": 45.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.4904,
    "c": 0.1717,
    "h": 286.3
  },
  "luminance": 0.1068
}

Semantic roles & 50–950 ramp

primary
#5D49BB
secondary
#C0C997
accent
#D553BE
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #5D49BB

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

Preview Lab → · Contrast checker → · Palette generator →

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