#541A83#541A83

#541A83 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.163 H 304.4°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#541A83
RGBrgb(84, 26, 131)
HSLhsl(273, 67%, 31%)
HSVhsv(273, 80%, 51%)
CMYKcmyk(35.9%, 80.2%, 0%, 48.6%)
CIE-LABlab(24.52, 45.57, -47.25)
CIE-LCHlch(24.52, 65.65, 313.96°)
OKLaboklab(37% 0.0921 -0.1347)
OKLCHoklch(37% 0.163 304.4)
XYZxyz(8.1213, 4.2623, 21.8632)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541A83 #49831A
analogous
#1F1A83 #541A83 #831A7D
triadic
#541A83 #83541A #1A8354
tetradic
#541A83 #831F1A #49831A #1A7D83
square
#541A83 #831F1A #49831A #1A7D83
split-complementary
#541A83 #7D831A #1A831F
monochromatic
#13061D #331050 #541A83 #7524B6 #943FD9

Accessibility & contrast

On white

11.34
#541A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#541A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541A83
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541A83#FFFFFF#000000##FFFFFF
##541A831.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003A81
Tritanopia (blue-blind)
#4B354E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #541a83;
/* rgb */ color: rgb(84, 26, 131);
/* oklch */ color: oklch(37.0% 0.163 304.4);
Tailwind
colors: {
  custom: {
    50: '#895ea8',
    500: '#541a83',
    950: '#000000',
  },
}
SCSS
$custom: #541a83;
$custom-light: #895ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#541a83",
  "rgb": {
    "r": 84,
    "g": 26,
    "b": 131
  },
  "hsl": {
    "h": 273.143,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37,
    "c": 0.16313,
    "h": 304.4
  },
  "luminance": 0.04262
}

Semantic roles & 50–950 ramp

primary
#541A83
secondary
#76B742
accent
#EA3E8B
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #541A83

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

Preview Lab → · Contrast checker → · Palette generator →

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