#5B49AF#5B49AF

#5B49AF is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.0% C 0.156 H 287.1°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#5B49AF
RGBrgb(91, 73, 175)
HSLhsl(251, 41%, 49%)
HSVhsv(251, 58%, 69%)
CMYKcmyk(48%, 58.3%, 0%, 31.4%)
CIE-LABlab(37.99, 34.02, -52.19)
CIE-LCHlch(37.99, 62.30, 303.10°)
OKLaboklab(47.96% 0.0458 -0.1491)
OKLCHoklch(47.96% 0.156 287.1)
XYZxyz(14.4325, 10.0838, 41.7350)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B49AF #9DAF49
analogous
#496AAF #5B49AF #8E49AF
triadic
#5B49AF #AF5B49 #49AF5B
tetradic
#5B49AF #AF496A #9DAF49 #49AF8E
square
#5B49AF #AF496A #9DAF49 #49AF8E
split-complementary
#5B49AF #AF8E49 #6AAF49
monochromatic
#2E2559 #453784 #5B49AF #8071C4 #A79CD6

Accessibility & contrast

On white

6.96
#5B49AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#5B49AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B49AF
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B49AF#FFFFFF#000000##FFFFFF
##5B49AF1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0057AD
Tritanopia (blue-blind)
#3F6075
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5b49af;
/* rgb */ color: rgb(91, 73, 175);
/* oklch */ color: oklch(48.0% 0.156 287.1);
Tailwind
colors: {
  custom: {
    50: '#907cc8',
    500: '#5b49af',
    950: '#000000',
  },
}
SCSS
$custom: #5b49af;
$custom-light: #907cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b49af",
  "rgb": {
    "r": 91,
    "g": 73,
    "b": 175
  },
  "hsl": {
    "h": 250.588,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47958,
    "c": 0.15595,
    "h": 287.1
  },
  "luminance": 0.10084
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B49AF

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

Preview Lab → · Contrast checker → · Palette generator →

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