#5541AF#5541AF

#5541AF is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.1% C 0.167 H 286.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#5541AF
RGBrgb(85, 65, 175)
HSLhsl(251, 46%, 47%)
HSVhsv(251, 63%, 69%)
CMYKcmyk(51.4%, 62.9%, 0%, 31.4%)
CIE-LABlab(35.61, 37.60, -56.08)
CIE-LCHlch(35.61, 67.52, 303.84°)
OKLaboklab(46.08% 0.0466 -0.1607)
OKLCHoklch(46.08% 0.167 286.2)
XYZxyz(13.3722, 8.8064, 41.5443)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5541AF #9BAF41
analogous
#4164AF #5541AF #8C41AF
triadic
#5541AF #AF5541 #41AF55
tetradic
#5541AF #AF4164 #9BAF41 #41AF8C
square
#5541AF #AF4164 #9BAF41 #41AF8C
split-complementary
#5541AF #AF8C41 #64AF41
monochromatic
#2A2056 #3F3082 #5541AF #7867C6 #A093D7

Accessibility & contrast

On white

7.60
#5541AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#5541AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5541AF
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5541AF#FFFFFF#000000##FFFFFF
##5541AF1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#335B72
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5541af;
/* rgb */ color: rgb(85, 65, 175);
/* oklch */ color: oklch(46.1% 0.167 286.2);
Tailwind
colors: {
  custom: {
    50: '#8d77c8',
    500: '#5541af',
    950: '#000000',
  },
}
SCSS
$custom: #5541af;
$custom-light: #8d77c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5541af",
  "rgb": {
    "r": 85,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 250.909,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46077,
    "c": 0.16733,
    "h": 286.2
  },
  "luminance": 0.08807
}

Semantic roles & 50–950 ramp

primary
#5541AF
secondary
#B8C289
accent
#D552BE
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5541AF

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

Preview Lab → · Contrast checker → · Palette generator →

#5541AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva