#5F49BD#5F49BD

#5F49BD is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.4% C 0.174 H 286.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#5F49BD
RGBrgb(95, 73, 189)
HSLhsl(251, 47%, 51%)
HSVhsv(251, 61%, 74%)
CMYKcmyk(49.7%, 61.4%, 0%, 25.9%)
CIE-LABlab(39.36, 39.07, -58.20)
CIE-LCHlch(39.36, 70.10, 303.87°)
OKLaboklab(49.37% 0.0506 -0.1666)
OKLCHoklch(49.37% 0.174 286.9)
XYZxyz(16.2845, 10.8713, 49.3746)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F49BD #A7BD49
analogous
#496DBD #5F49BD #9949BD
triadic
#5F49BD #BD5F49 #49BD5F
tetradic
#5F49BD #BD496D #A7BD49 #49BD99
square
#5F49BD #BD496D #A7BD49 #49BD99
split-complementary
#5F49BD #BD9949 #6DBD49
monochromatic
#322566 #473593 #5F49BD #8676CD #AEA3DE

Accessibility & contrast

On white

6.62
#5F49BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5F49BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F49BD
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F49BD#FFFFFF#000000##FFFFFF
##5F49BD1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#0059BB
Tritanopia (blue-blind)
#3E647C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5f49bd;
/* rgb */ color: rgb(95, 73, 189);
/* oklch */ color: oklch(49.4% 0.174 286.9);
Tailwind
colors: {
  custom: {
    50: '#947dd2',
    500: '#5f49bd',
    950: '#000000',
  },
}
SCSS
$custom: #5f49bd;
$custom-light: #947dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f49bd",
  "rgb": {
    "r": 95,
    "g": 73,
    "b": 189
  },
  "hsl": {
    "h": 251.379,
    "s": 46.774,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49371,
    "c": 0.17414,
    "h": 286.9
  },
  "luminance": 0.10872
}

Semantic roles & 50–950 ramp

primary
#5F49BD
secondary
#C1CA97
accent
#D651BD
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5F49BD

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

Preview Lab → · Contrast checker → · Palette generator →

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