#541280#541280

#541280 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.168 H 306.3°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#541280
RGBrgb(84, 18, 128)
HSLhsl(276, 75%, 29%)
HSVhsv(276, 86%, 50%)
CMYKcmyk(34.4%, 85.9%, 0%, 49.8%)
CIE-LABlab(23.26, 47.77, -47.42)
CIE-LCHlch(23.26, 67.31, 315.21°)
OKLaboklab(36.04% 0.0993 -0.1351)
OKLCHoklch(36.04% 0.168 306.3)
XYZxyz(7.7679, 3.8760, 20.7568)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541280 #3E8012
analogous
#1D1280 #541280 #801275
triadic
#541280 #805412 #128054
tetradic
#541280 #801D12 #3E8012 #127580
square
#541280 #801D12 #3E8012 #127580
split-complementary
#541280 #758012 #12801D
monochromatic
#12041B #310A4A #541280 #771AB6 #982BE1

Accessibility & contrast

On white

11.83
#541280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#541280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541280
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541280#FFFFFF#000000##FFFFFF
##5412801.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#00387E
Tritanopia (blue-blind)
#4C314B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #541280;
/* rgb */ color: rgb(84, 18, 128);
/* oklch */ color: oklch(36.0% 0.168 306.3);
Tailwind
colors: {
  custom: {
    50: '#895aa6',
    500: '#541280',
    950: '#000000',
  },
}
SCSS
$custom: #541280;
$custom-light: #895aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#541280",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 128
  },
  "hsl": {
    "h": 276,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36039,
    "c": 0.16768,
    "h": 306.3
  },
  "luminance": 0.03876
}

Semantic roles & 50–950 ramp

primary
#541280
secondary
#6AB638
accent
#F23681
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #541280

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

Preview Lab → · Contrast checker → · Palette generator →

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