#5541B9#5541B9

#5541B9 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 46.9% C 0.180 H 284.7°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#5541B9
RGBrgb(85, 65, 185)
HSLhsl(250, 48%, 49%)
HSVhsv(250, 65%, 73%)
CMYKcmyk(54.1%, 64.9%, 0%, 27.5%)
CIE-LABlab(36.39, 40.66, -60.72)
CIE-LCHlch(36.39, 73.08, 303.81°)
OKLaboklab(46.89% 0.0457 -0.1744)
OKLCHoklch(46.89% 0.18 284.7)
XYZxyz(14.3909, 9.2139, 46.9097)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5541B9 #A5B941
analogous
#4169B9 #5541B9 #9141B9
triadic
#5541B9 #B95541 #41B955
tetradic
#5541B9 #B94169 #A5B941 #41B991
square
#5541B9 #B94169 #A5B941 #41B991
split-complementary
#5541B9 #B99141 #69B941
monochromatic
#2B215E #40318C #5541B9 #7C6CCB #A499DB

Accessibility & contrast

On white

7.39
#5541B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#5541B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5541B9
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5541B9#FFFFFF#000000##FFFFFF
##5541B91.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#0052B7
Tritanopia (blue-blind)
#2A5F77
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5541b9;
/* rgb */ color: rgb(85, 65, 185);
/* oklch */ color: oklch(46.9% 0.180 284.7);
Tailwind
colors: {
  custom: {
    50: '#8e77cf',
    500: '#5541b9',
    950: '#000000',
  },
}
SCSS
$custom: #5541b9;
$custom-light: #8e77cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5541b9",
  "rgb": {
    "r": 85,
    "g": 65,
    "b": 185
  },
  "hsl": {
    "h": 250,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.46893,
    "c": 0.18024,
    "h": 284.7
  },
  "luminance": 0.09215
}

Semantic roles & 50–950 ramp

primary
#5541B9
secondary
#BEC78F
accent
#D850C1
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5541B9

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

Preview Lab → · Contrast checker → · Palette generator →

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