#5541B4#5541B4

#5541B4 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.5% C 0.174 H 285.4°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#5541B4
RGBrgb(85, 65, 180)
HSLhsl(250, 47%, 48%)
HSVhsv(250, 64%, 71%)
CMYKcmyk(52.8%, 63.9%, 0%, 29.4%)
CIE-LABlab(36.00, 39.13, -58.41)
CIE-LCHlch(36.00, 70.31, 303.82°)
OKLaboklab(46.48% 0.0461 -0.1676)
OKLCHoklch(46.48% 0.174 285.4)
XYZxyz(13.8724, 9.0064, 44.1786)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5541B4 #A0B441
analogous
#4166B4 #5541B4 #8E41B4
triadic
#5541B4 #B45541 #41B455
tetradic
#5541B4 #B44166 #A0B441 #41B48E
square
#5541B4 #B44166 #A0B441 #41B48E
split-complementary
#5541B4 #B48E41 #66B441
monochromatic
#2B215A #403187 #5541B4 #7A69C9 #A296D9

Accessibility & contrast

On white

7.50
#5541B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5541B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5541B4
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5541B4#FFFFFF#000000##FFFFFF
##5541B41.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#2F5D74
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5541b4;
/* rgb */ color: rgb(85, 65, 180);
/* oklch */ color: oklch(46.5% 0.174 285.4);
Tailwind
colors: {
  custom: {
    50: '#8d77cb',
    500: '#5541b4',
    950: '#000000',
  },
}
SCSS
$custom: #5541b4;
$custom-light: #8d77cb;
$custom-dark: #000000;
JSON
{
  "hex": "#5541b4",
  "rgb": {
    "r": 85,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 250.435,
    "s": 46.939,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46481,
    "c": 0.17382,
    "h": 285.4
  },
  "luminance": 0.09007
}

Semantic roles & 50–950 ramp

primary
#5541B4
secondary
#BBC58C
accent
#D751BF
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5541B4

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

Preview Lab → · Contrast checker → · Palette generator →

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