#541D90#541D90

#541D90 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.174 H 299.6°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#541D90
RGBrgb(84, 29, 144)
HSLhsl(269, 66%, 34%)
HSVhsv(269, 80%, 56%)
CMYKcmyk(41.7%, 79.9%, 0%, 43.5%)
CIE-LABlab(26.09, 47.55, -52.80)
CIE-LCHlch(26.09, 71.06, 312.00°)
OKLaboklab(38.45% 0.0858 -0.151)
OKLCHoklch(38.45% 0.174 299.6)
XYZxyz(9.1283, 4.7771, 26.8213)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541D90 #59901D
analogous
#1D1F90 #541D90 #8E1D90
triadic
#541D90 #90541D #1D9054
tetradic
#541D90 #901D1F #59901D #1D908E
square
#541D90 #901D1F #59901D #1D908E
split-complementary
#541D90 #908E1D #1F901D
monochromatic
#19082A #36135D #541D90 #7227C3 #914CDB

Accessibility & contrast

On white

10.74
#541D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#541D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541D90
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541D90#FFFFFF#000000##FFFFFF
##541D901.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#463C56
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #541d90;
/* rgb */ color: rgb(84, 29, 144);
/* oklch */ color: oklch(38.5% 0.174 299.6);
Tailwind
colors: {
  custom: {
    50: '#8a60b1',
    500: '#541d90',
    950: '#000000',
  },
}
SCSS
$custom: #541d90;
$custom-light: #8a60b1;
$custom-dark: #000000;
JSON
{
  "hex": "#541d90",
  "rgb": {
    "r": 84,
    "g": 29,
    "b": 144
  },
  "hsl": {
    "h": 268.696,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3845,
    "c": 0.17369,
    "h": 299.6
  },
  "luminance": 0.04777
}

Semantic roles & 50–950 ramp

primary
#541D90
secondary
#87BD4B
accent
#E93E98
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #541D90

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

Preview Lab → · Contrast checker → · Palette generator →

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