#541CA9#541CA9

#541CA9 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.7% C 0.201 H 292.9°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#541CA9
RGBrgb(84, 28, 169)
HSLhsl(264, 72%, 39%)
HSVhsv(264, 83%, 66%)
CMYKcmyk(50.3%, 83.4%, 0%, 33.7%)
CIE-LABlab(28.33, 54.30, -64.40)
CIE-LCHlch(28.33, 84.24, 310.13°)
OKLaboklab(40.72% 0.0783 -0.185)
OKLCHoklch(40.72% 0.201 292.9)
XYZxyz(11.2308, 5.5795, 38.0136)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541CA9 #71A91C
analogous
#1C2AA9 #541CA9 #9A1CA9
triadic
#541CA9 #A9541C #1CA954
tetradic
#541CA9 #A91C2A #71A91C #1CA99A
square
#541CA9 #A91C2A #71A91C #1CA99A
split-complementary
#541CA9 #A99A1C #2AA91C
monochromatic
#200B40 #3A1374 #541CA9 #6F27DB #925BE4

Accessibility & contrast

On white

9.92
#541CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#541CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541CA9
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541CA9#FFFFFF#000000##FFFFFF
##541CA91.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AD
Deuteranopia (green-blind)
#0040A6
Tritanopia (blue-blind)
#384765
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #541ca9;
/* rgb */ color: rgb(84, 28, 169);
/* oklch */ color: oklch(40.7% 0.201 292.9);
Tailwind
colors: {
  custom: {
    50: '#8e61c4',
    500: '#541ca9',
    950: '#000000',
  },
}
SCSS
$custom: #541ca9;
$custom-light: #8e61c4;
$custom-dark: #000000;
JSON
{
  "hex": "#541ca9",
  "rgb": {
    "r": 84,
    "g": 28,
    "b": 169
  },
  "hsl": {
    "h": 263.83,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4072,
    "c": 0.20086,
    "h": 292.9
  },
  "luminance": 0.0558
}

Semantic roles & 50–950 ramp

primary
#541CA9
secondary
#9CC859
accent
#EE39A6
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0513
muted
#7E7A82

Preview Lab

Preview with #541CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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