#541180#541180

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

Color values

HEX#541180
RGBrgb(84, 17, 128)
HSLhsl(276, 77%, 28%)
HSVhsv(276, 87%, 50%)
CMYKcmyk(34.4%, 86.7%, 0%, 49.8%)
CIE-LABlab(23.15, 48.09, -47.60)
CIE-LCHlch(23.15, 67.66, 315.29°)
OKLaboklab(35.96% 0.1 -0.1356)
OKLCHoklch(35.96% 0.168 306.4)
XYZxyz(7.7520, 3.8443, 20.7515)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541180 #3D8011
analogous
#1C1180 #541180 #801174
triadic
#541180 #805411 #118054
tetradic
#541180 #801C11 #3D8011 #117480
square
#541180 #801C11 #3D8011 #117480
split-complementary
#541180 #748011 #11801C
monochromatic
#12041B #310A4A #541180 #7718B6 #9929E3

Accessibility & contrast

On white

11.87
#541180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#541180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541180
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541180#FFFFFF#000000##FFFFFF
##5411801.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#00377E
Tritanopia (blue-blind)
#4C304B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #541180;
/* rgb */ color: rgb(84, 17, 128);
/* oklch */ color: oklch(36.0% 0.168 306.4);
Tailwind
colors: {
  custom: {
    50: '#895aa6',
    500: '#541180',
    950: '#000000',
  },
}
SCSS
$custom: #541180;
$custom-light: #895aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#541180",
  "rgb": {
    "r": 84,
    "g": 17,
    "b": 128
  },
  "hsl": {
    "h": 276.216,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35964,
    "c": 0.16849,
    "h": 306.4
  },
  "luminance": 0.03844
}

Semantic roles & 50–950 ramp

primary
#541180
secondary
#69B637
accent
#F33580
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #541180

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

Preview Lab → · Contrast checker → · Palette generator →

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