#541C97#541C97

#541C97 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.182 H 297.6°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#541C97
RGBrgb(84, 28, 151)
HSLhsl(267, 69%, 35%)
HSVhsv(267, 81%, 59%)
CMYKcmyk(44.4%, 81.5%, 0%, 40.8%)
CIE-LABlab(26.59, 49.72, -56.30)
CIE-LCHlch(26.59, 75.12, 311.45°)
OKLaboklab(39% 0.0845 -0.1613)
OKLCHoklch(39% 0.182 297.6)
XYZxyz(9.6559, 4.9495, 29.7188)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541C97 #5F971C
analogous
#1C2297 #541C97 #911C97
triadic
#541C97 #97541C #1C9754
tetradic
#541C97 #971C22 #5F971C #1C9791
square
#541C97 #971C22 #5F971C #1C9791
split-complementary
#541C97 #97911C #22971C
monochromatic
#1B0930 #371263 #541C97 #7126CB #904FDE

Accessibility & contrast

On white

10.55
#541C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#541C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541C97
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541C97#FFFFFF#000000##FFFFFF
##541C971.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#423F5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #541c97;
/* rgb */ color: rgb(84, 28, 151);
/* oklch */ color: oklch(39.0% 0.182 297.6);
Tailwind
colors: {
  custom: {
    50: '#8b60b7',
    500: '#541c97',
    950: '#000000',
  },
}
SCSS
$custom: #541c97;
$custom-light: #8b60b7;
$custom-dark: #000000;
JSON
{
  "hex": "#541c97",
  "rgb": {
    "r": 84,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 267.317,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38995,
    "c": 0.18204,
    "h": 297.6
  },
  "luminance": 0.0495
}

Semantic roles & 50–950 ramp

primary
#541C97
secondary
#8DC14E
accent
#EC3C9C
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #541C97

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

Preview Lab → · Contrast checker → · Palette generator →

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