#5541B3#5541B3

#5541B3 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.4% C 0.173 H 285.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#5541B3
RGBrgb(85, 65, 179)
HSLhsl(251, 47%, 48%)
HSVhsv(251, 64%, 70%)
CMYKcmyk(52.5%, 63.7%, 0%, 29.8%)
CIE-LABlab(35.92, 38.82, -57.95)
CIE-LCHlch(35.92, 69.75, 303.82°)
OKLaboklab(46.4% 0.0462 -0.1662)
OKLCHoklch(46.4% 0.173 285.5)
XYZxyz(13.7709, 8.9658, 43.6440)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5541B3 #9FB341
analogous
#4166B3 #5541B3 #8E41B3
triadic
#5541B3 #B35541 #41B355
tetradic
#5541B3 #B34166 #9FB341 #41B38E
square
#5541B3 #B34166 #9FB341 #41B38E
split-complementary
#5541B3 #B38E41 #66B341
monochromatic
#2A2059 #403186 #5541B3 #7A69C8 #A196D9

Accessibility & contrast

On white

7.52
#5541B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5541B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5541B3
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5541B3#FFFFFF#000000##FFFFFF
##5541B31.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#305D74
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5541b3;
/* rgb */ color: rgb(85, 65, 179);
/* oklch */ color: oklch(46.4% 0.173 285.5);
Tailwind
colors: {
  custom: {
    50: '#8d77cb',
    500: '#5541b3',
    950: '#000000',
  },
}
SCSS
$custom: #5541b3;
$custom-light: #8d77cb;
$custom-dark: #000000;
JSON
{
  "hex": "#5541b3",
  "rgb": {
    "r": 85,
    "g": 65,
    "b": 179
  },
  "hsl": {
    "h": 250.526,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.464,
    "c": 0.17253,
    "h": 285.5
  },
  "luminance": 0.08967
}

Semantic roles & 50–950 ramp

primary
#5541B3
secondary
#BAC48B
accent
#D651BF
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5541B3

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

Preview Lab → · Contrast checker → · Palette generator →

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