#541260#541260

#541260 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.4% C 0.137 H 320.9°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#541260
RGBrgb(84, 18, 96)
HSLhsl(291, 68%, 22%)
HSVhsv(291, 81%, 38%)
CMYKcmyk(12.5%, 81.3%, 0%, 62.4%)
CIE-LABlab(20.68, 40.79, -30.91)
CIE-LCHlch(20.68, 51.18, 322.85°)
OKLaboklab(33.43% 0.1065 -0.0866)
OKLCHoklch(33.43% 0.137 320.9)
XYZxyz(5.9835, 3.1623, 11.3593)
Luminance0.0316 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541260 #1E6012
analogous
#2D1260 #541260 #601245
triadic
#541260 #605412 #126054
tetradic
#541260 #602D12 #1E6012 #124560
square
#541260 #602D12 #1E6012 #124560
split-complementary
#541260 #456012 #12602D
monochromatic
#17051A #27082C #541260 #811C94 #AE25C7

Accessibility & contrast

On white

12.86
#541260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#541260 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541260
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541260#FFFFFF#000000##FFFFFF
##5412601.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D62
Deuteranopia (green-blind)
#1B345E
Tritanopia (blue-blind)
#552238
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #541260;
/* rgb */ color: rgb(84, 18, 96);
/* oklch */ color: oklch(33.4% 0.137 320.9);
Tailwind
colors: {
  custom: {
    50: '#87598e',
    500: '#541260',
    950: '#000000',
  },
}
SCSS
$custom: #541260;
$custom-light: #87598e;
$custom-dark: #000000;
JSON
{
  "hex": "#541260",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 96
  },
  "hsl": {
    "h": 290.769,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33427,
    "c": 0.1373,
    "h": 320.9
  },
  "luminance": 0.03162
}

Semantic roles & 50–950 ramp

primary
#541260
secondary
#459836
accent
#EB3D57
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #541260

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

Preview Lab → · Contrast checker → · Palette generator →

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