#541C8F#541C8F

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

Color values

HEX#541C8F
RGBrgb(84, 28, 143)
HSLhsl(269, 67%, 34%)
HSVhsv(269, 80%, 56%)
CMYKcmyk(41.3%, 80.4%, 0%, 43.9%)
CIE-LABlab(25.86, 47.71, -52.56)
CIE-LCHlch(25.86, 70.99, 312.23°)
OKLaboklab(38.26% 0.087 -0.1503)
OKLCHoklch(38.26% 0.174 300.1)
XYZxyz(9.0281, 4.6984, 26.4125)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541C8F #578F1C
analogous
#1C1E8F #541C8F #8D1C8F
triadic
#541C8F #8F541C #1C8F54
tetradic
#541C8F #8F1C1E #578F1C #1C8F8D
square
#541C8F #8F1C1E #578F1C #1C8F8D
split-complementary
#541C8F #8F8D1C #1E8F1C
monochromatic
#180829 #36125C #541C8F #7226C2 #914ADC

Accessibility & contrast

On white

10.83
#541C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541C8F
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541C8F#FFFFFF#000000##FFFFFF
##541C8F1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#463B55
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #541c8f;
/* rgb */ color: rgb(84, 28, 143);
/* oklch */ color: oklch(38.3% 0.174 300.1);
Tailwind
colors: {
  custom: {
    50: '#8a60b1',
    500: '#541c8f',
    950: '#000000',
  },
}
SCSS
$custom: #541c8f;
$custom-light: #8a60b1;
$custom-dark: #000000;
JSON
{
  "hex": "#541c8f",
  "rgb": {
    "r": 84,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 269.217,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3826,
    "c": 0.17364,
    "h": 300.1
  },
  "luminance": 0.04698
}

Semantic roles & 50–950 ramp

primary
#541C8F
secondary
#85BE49
accent
#EA3E96
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #541C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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