#541A7D#541A7D

#541A7D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.157 H 306.6°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#541A7D
RGBrgb(84, 26, 125)
HSLhsl(275, 66%, 30%)
HSVhsv(275, 79%, 49%)
CMYKcmyk(32.8%, 79.2%, 0%, 51%)
CIE-LABlab(24.01, 44.12, -44.29)
CIE-LCHlch(24.01, 62.52, 314.89°)
OKLaboklab(36.49% 0.0936 -0.126)
OKLCHoklch(36.49% 0.157 306.6)
XYZxyz(7.7264, 4.1044, 19.7832)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541A7D #437D1A
analogous
#231A7D #541A7D #7D1A74
triadic
#541A7D #7D541A #1A7D54
tetradic
#541A7D #7D231A #437D1A #1A747D
square
#541A7D #7D231A #437D1A #1A747D
split-complementary
#541A7D #747D1A #1A7D23
monochromatic
#110519 #320F4A #541A7D #7625B0 #963BD6

Accessibility & contrast

On white

11.53
#541A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#541A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541A7D
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541A7D#FFFFFF#000000##FFFFFF
##541A7D1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#4D334B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #541a7d;
/* rgb */ color: rgb(84, 26, 125);
/* oklch */ color: oklch(36.5% 0.157 306.6);
Tailwind
colors: {
  custom: {
    50: '#895ea3',
    500: '#541a7d',
    950: '#000000',
  },
}
SCSS
$custom: #541a7d;
$custom-light: #895ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#541a7d",
  "rgb": {
    "r": 84,
    "g": 26,
    "b": 125
  },
  "hsl": {
    "h": 275.152,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36486,
    "c": 0.15692,
    "h": 306.6
  },
  "luminance": 0.04104
}

Semantic roles & 50–950 ramp

primary
#541A7D
secondary
#70B142
accent
#E93F85
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #541A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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