#541B90#541B90

#541B90 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.3% C 0.176 H 299.9°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#541B90
RGBrgb(84, 27, 144)
HSLhsl(269, 68%, 34%)
HSVhsv(269, 81%, 56%)
CMYKcmyk(41.7%, 81.3%, 0%, 43.5%)
CIE-LABlab(25.81, 48.36, -53.26)
CIE-LCHlch(25.81, 71.94, 312.24°)
OKLaboklab(38.26% 0.0875 -0.1523)
OKLCHoklch(38.26% 0.176 299.9)
XYZxyz(9.0809, 4.6822, 26.8055)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B90 #57901B
analogous
#1B1C90 #541B90 #8E1B90
triadic
#541B90 #90541B #1B9054
tetradic
#541B90 #901B1C #57901B #1B908E
square
#541B90 #901B1C #57901B #1B908E
split-complementary
#541B90 #908E1B #1C901B
monochromatic
#180829 #36115C #541B90 #7225C4 #9149DD

Accessibility & contrast

On white

10.84
#541B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#541B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541B90
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B90#FFFFFF#000000##FFFFFF
##541B901.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#463B56
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #541b90;
/* rgb */ color: rgb(84, 27, 144);
/* oklch */ color: oklch(38.3% 0.176 299.9);
Tailwind
colors: {
  custom: {
    50: '#8b5fb1',
    500: '#541b90',
    950: '#000000',
  },
}
SCSS
$custom: #541b90;
$custom-light: #8b5fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#541b90",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 144
  },
  "hsl": {
    "h": 269.231,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38255,
    "c": 0.17565,
    "h": 299.9
  },
  "luminance": 0.04682
}

Semantic roles & 50–950 ramp

primary
#541B90
secondary
#85BF48
accent
#EB3D96
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0D0511
muted
#7D7980

Preview Lab

Preview with #541B90

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

Preview Lab → · Contrast checker → · Palette generator →

#541B90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva