#5B49AE#5B49AE

#5B49AE is a mid, vivid violet. Relative luminance 0.100; OKLCH L 47.9% C 0.155 H 287.2°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#5B49AE
RGBrgb(91, 73, 174)
HSLhsl(251, 41%, 48%)
HSVhsv(251, 58%, 68%)
CMYKcmyk(47.7%, 58%, 0%, 31.8%)
CIE-LABlab(37.92, 33.72, -51.71)
CIE-LCHlch(37.92, 61.74, 303.11°)
OKLaboklab(47.88% 0.0458 -0.1477)
OKLCHoklch(47.88% 0.155 287.2)
XYZxyz(14.3347, 10.0446, 41.2197)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B49AE #9CAE49
analogous
#4969AE #5B49AE #8D49AE
triadic
#5B49AE #AE5B49 #49AE5B
tetradic
#5B49AE #AE4969 #9CAE49 #49AE8D
square
#5B49AE #AE4969 #9CAE49 #49AE8D
split-complementary
#5B49AE #AE8D49 #69AE49
monochromatic
#2E2558 #443783 #5B49AE #8071C3 #A69CD5

Accessibility & contrast

On white

6.98
#5B49AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#5B49AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B49AE
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B49AE#FFFFFF#000000##FFFFFF
##5B49AE1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB1
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#406074
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5b49ae;
/* rgb */ color: rgb(91, 73, 174);
/* oklch */ color: oklch(47.9% 0.155 287.2);
Tailwind
colors: {
  custom: {
    50: '#8f7cc7',
    500: '#5b49ae',
    950: '#000000',
  },
}
SCSS
$custom: #5b49ae;
$custom-light: #8f7cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b49ae",
  "rgb": {
    "r": 91,
    "g": 73,
    "b": 174
  },
  "hsl": {
    "h": 250.693,
    "s": 40.891,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47884,
    "c": 0.15461,
    "h": 287.2
  },
  "luminance": 0.10045
}

Semantic roles & 50–950 ramp

primary
#5B49AE
secondary
#B9C291
accent
#D157BB
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5B49AE

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

Preview Lab → · Contrast checker → · Palette generator →

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