#541980#541980

#541980 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.161 H 305.6°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#541980
RGBrgb(84, 25, 128)
HSLhsl(274, 67%, 30%)
HSVhsv(274, 80%, 50%)
CMYKcmyk(34.4%, 80.5%, 0%, 49.8%)
CIE-LABlab(24.12, 45.25, -46.01)
CIE-LCHlch(24.12, 64.53, 314.52°)
OKLaboklab(36.64% 0.0937 -0.131)
OKLCHoklch(36.64% 0.161 305.6)
XYZxyz(7.8992, 4.1387, 20.8006)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541980 #458019
analogous
#211980 #541980 #801978
triadic
#541980 #805419 #198054
tetradic
#541980 #802119 #458019 #197880
square
#541980 #802119 #458019 #197880
split-complementary
#541980 #788019 #198021
monochromatic
#11051A #320F4D #541980 #7623B3 #953BD9

Accessibility & contrast

On white

11.49
#541980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#541980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541980
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541980#FFFFFF#000000##FFFFFF
##5419801.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#4C344C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #541980;
/* rgb */ color: rgb(84, 25, 128);
/* oklch */ color: oklch(36.6% 0.161 305.6);
Tailwind
colors: {
  custom: {
    50: '#895da6',
    500: '#541980',
    950: '#000000',
  },
}
SCSS
$custom: #541980;
$custom-light: #895da6;
$custom-dark: #000000;
JSON
{
  "hex": "#541980",
  "rgb": {
    "r": 84,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 274.369,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.36643,
    "c": 0.16108,
    "h": 305.6
  },
  "luminance": 0.04139
}

Semantic roles & 50–950 ramp

primary
#541980
secondary
#72B441
accent
#EA3E87
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #541980

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

Preview Lab → · Contrast checker → · Palette generator →

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