#541380#541380

#541380 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.167 H 306.2°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#541380
RGBrgb(84, 19, 128)
HSLhsl(276, 74%, 29%)
HSVhsv(276, 85%, 50%)
CMYKcmyk(34.4%, 85.2%, 0%, 49.8%)
CIE-LABlab(23.37, 47.44, -47.24)
CIE-LCHlch(23.37, 66.95, 315.12°)
OKLaboklab(36.12% 0.0986 -0.1346)
OKLCHoklch(36.12% 0.167 306.2)
XYZxyz(7.7844, 3.9092, 20.7623)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541380 #3F8013
analogous
#1E1380 #541380 #801376
triadic
#541380 #805413 #138054
tetradic
#541380 #801E13 #3F8013 #137680
square
#541380 #801E13 #3F8013 #137680
split-complementary
#541380 #768013 #13801E
monochromatic
#11041B #310B4B #541380 #771BB5 #982DE0

Accessibility & contrast

On white

11.79
#541380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541380
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541380#FFFFFF#000000##FFFFFF
##5413801.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #541380;
/* rgb */ color: rgb(84, 19, 128);
/* oklch */ color: oklch(36.1% 0.167 306.2);
Tailwind
colors: {
  custom: {
    50: '#895ba6',
    500: '#541380',
    950: '#000000',
  },
}
SCSS
$custom: #541380;
$custom-light: #895ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#541380",
  "rgb": {
    "r": 84,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 275.78,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36116,
    "c": 0.16683,
    "h": 306.2
  },
  "luminance": 0.03909
}

Semantic roles & 50–950 ramp

primary
#541380
secondary
#6BB539
accent
#F13782
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #541380

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

Preview Lab → · Contrast checker → · Palette generator →

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