#5541B2#5541B2

#5541B2 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.3% C 0.171 H 285.7°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#5541B2
RGBrgb(85, 65, 178)
HSLhsl(251, 47%, 48%)
HSVhsv(251, 63%, 70%)
CMYKcmyk(52.2%, 63.5%, 0%, 30.2%)
CIE-LABlab(35.84, 38.52, -57.48)
CIE-LCHlch(35.84, 69.19, 303.82°)
OKLaboklab(46.32% 0.0463 -0.1648)
OKLCHoklch(46.32% 0.171 285.7)
XYZxyz(13.6701, 8.9255, 43.1133)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5541B2 #9EB241
analogous
#4166B2 #5541B2 #8D41B2
triadic
#5541B2 #B25541 #41B255
tetradic
#5541B2 #B24166 #9EB241 #41B28D
square
#5541B2 #B24166 #9EB241 #41B28D
split-complementary
#5541B2 #B28D41 #66B241
monochromatic
#2A2058 #403185 #5541B2 #7968C8 #A195D8

Accessibility & contrast

On white

7.54
#5541B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5541B2
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5541B2#FFFFFF#000000##FFFFFF
##5541B21.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#315C73
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5541b2;
/* rgb */ color: rgb(85, 65, 178);
/* oklch */ color: oklch(46.3% 0.171 285.7);
Tailwind
colors: {
  custom: {
    50: '#8d77ca',
    500: '#5541b2',
    950: '#000000',
  },
}
SCSS
$custom: #5541b2;
$custom-light: #8d77ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5541b2",
  "rgb": {
    "r": 85,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 250.619,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46319,
    "c": 0.17124,
    "h": 285.7
  },
  "luminance": 0.08926
}

Semantic roles & 50–950 ramp

primary
#5541B2
secondary
#BAC48B
accent
#D652BF
background
#F9F7FC
surface
#F1EDF8
border
#CBC8D1
text
#0D0813
muted
#7E7B82

Preview Lab

Preview with #5541B2

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

Preview Lab → · Contrast checker → · Palette generator →

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