#541C90#541C90

#541C90 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.4% C 0.175 H 299.7°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#541C90
RGBrgb(84, 28, 144)
HSLhsl(269, 67%, 34%)
HSVhsv(269, 81%, 56%)
CMYKcmyk(41.7%, 80.6%, 0%, 43.5%)
CIE-LABlab(25.95, 47.96, -53.04)
CIE-LCHlch(25.95, 71.51, 312.12°)
OKLaboklab(38.35% 0.0867 -0.1517)
OKLCHoklch(38.35% 0.175 299.7)
XYZxyz(9.1042, 4.7288, 26.8133)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541C90 #58901C
analogous
#1C1E90 #541C90 #8E1C90
triadic
#541C90 #90541C #1C9054
tetradic
#541C90 #901C1E #58901C #1C908E
square
#541C90 #901C1E #58901C #1C908E
split-complementary
#541C90 #908E1C #1E901C
monochromatic
#18082A #36125D #541C90 #7226C3 #914ADC

Accessibility & contrast

On white

10.79
#541C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#541C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541C90
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541C90#FFFFFF#000000##FFFFFF
##541C901.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #541c90;
/* rgb */ color: rgb(84, 28, 144);
/* oklch */ color: oklch(38.4% 0.175 299.7);
Tailwind
colors: {
  custom: {
    50: '#8a60b1',
    500: '#541c90',
    950: '#000000',
  },
}
SCSS
$custom: #541c90;
$custom-light: #8a60b1;
$custom-dark: #000000;
JSON
{
  "hex": "#541c90",
  "rgb": {
    "r": 84,
    "g": 28,
    "b": 144
  },
  "hsl": {
    "h": 268.966,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38351,
    "c": 0.17469,
    "h": 299.7
  },
  "luminance": 0.04729
}

Semantic roles & 50–950 ramp

primary
#541C90
secondary
#86BE4A
accent
#EA3D97
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0D0511
muted
#7D7980

Preview Lab

Preview with #541C90

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

Preview Lab → · Contrast checker → · Palette generator →

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