#541C9D#541C9D

#541C9D is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.6% C 0.188 H 296.0°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#541C9D
RGBrgb(84, 28, 157)
HSLhsl(266, 70%, 36%)
HSVhsv(266, 82%, 62%)
CMYKcmyk(46.5%, 82.2%, 0%, 38.4%)
CIE-LABlab(27.16, 51.24, -59.05)
CIE-LCHlch(27.16, 78.18, 310.95°)
OKLaboklab(39.56% 0.0825 -0.1693)
OKLCHoklch(39.56% 0.188 296)
XYZxyz(10.1556, 5.1494, 32.3506)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541C9D #659D1C
analogous
#1C249D #541C9D #951C9D
triadic
#541C9D #9D541C #1C9D54
tetradic
#541C9D #9D1C24 #659D1C #1C9D95
square
#541C9D #9D1C24 #659D1C #1C9D95
split-complementary
#541C9D #9D951C #249D1C
monochromatic
#1C0935 #381369 #541C9D #7025D1 #9053E0

Accessibility & contrast

On white

10.34
#541C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#541C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541C9D
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541C9D#FFFFFF#000000##FFFFFF
##541C9D1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#3F415E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #541c9d;
/* rgb */ color: rgb(84, 28, 157);
/* oklch */ color: oklch(39.6% 0.188 296.0);
Tailwind
colors: {
  custom: {
    50: '#8c60bb',
    500: '#541c9d',
    950: '#000000',
  },
}
SCSS
$custom: #541c9d;
$custom-light: #8c60bb;
$custom-dark: #000000;
JSON
{
  "hex": "#541c9d",
  "rgb": {
    "r": 84,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 266.047,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39559,
    "c": 0.18833,
    "h": 296
  },
  "luminance": 0.0515
}

Semantic roles & 50–950 ramp

primary
#541C9D
secondary
#92C351
accent
#ED3BA0
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #541C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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