#541461#541461

#541461 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.7% C 0.136 H 320.2°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#541461
RGBrgb(84, 20, 97)
HSLhsl(290, 66%, 23%)
HSVhsv(290, 79%, 38%)
CMYKcmyk(13.4%, 79.4%, 0%, 62%)
CIE-LABlab(21.01, 40.25, -31.04)
CIE-LCHlch(21.01, 50.83, 322.36°)
OKLaboklab(33.68% 0.1045 -0.087)
OKLCHoklch(33.68% 0.136 320.2)
XYZxyz(6.0637, 3.2485, 11.6146)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541461 #216114
analogous
#2D1461 #541461 #611447
triadic
#541461 #615414 #146154
tetradic
#541461 #612D14 #216114 #144761
square
#541461 #612D14 #216114 #144761
split-complementary
#541461 #476114 #14612D
monochromatic
#160519 #280A2E #541461 #801E94 #AC29C6

Accessibility & contrast

On white

12.73
#541461 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#541461 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541461
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541461#FFFFFF#000000##FFFFFF
##5414611.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E63
Deuteranopia (green-blind)
#1C355F
Tritanopia (blue-blind)
#542339
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #541461;
/* rgb */ color: rgb(84, 20, 97);
/* oklch */ color: oklch(33.7% 0.136 320.2);
Tailwind
colors: {
  custom: {
    50: '#87598e',
    500: '#541461',
    950: '#000000',
  },
}
SCSS
$custom: #541461;
$custom-light: #87598e;
$custom-dark: #000000;
JSON
{
  "hex": "#541461",
  "rgb": {
    "r": 84,
    "g": 20,
    "b": 97
  },
  "hsl": {
    "h": 289.87,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33684,
    "c": 0.13595,
    "h": 320.2
  },
  "luminance": 0.03248
}

Semantic roles & 50–950 ramp

primary
#541461
secondary
#499838
accent
#E93F5C
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #541461

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

Preview Lab → · Contrast checker → · Palette generator →

#541461 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva