#541081#541081

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

Color values

HEX#541081
RGBrgb(84, 16, 129)
HSLhsl(276, 78%, 28%)
HSVhsv(276, 88%, 51%)
CMYKcmyk(34.9%, 87.6%, 0%, 49.4%)
CIE-LABlab(23.14, 48.62, -48.25)
CIE-LCHlch(23.14, 68.49, 315.22°)
OKLaboklab(35.98% 0.1003 -0.1375)
OKLCHoklch(35.98% 0.17 306.1)
XYZxyz(7.8030, 3.8405, 21.0948)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541081 #3D8110
analogous
#1B1081 #541081 #811075
triadic
#541081 #815410 #108154
tetradic
#541081 #811B10 #3D8110 #107581
square
#541081 #811B10 #3D8110 #107581
split-complementary
#541081 #758110 #10811B
monochromatic
#12031B #31094B #541081 #7717B7 #9927E4

Accessibility & contrast

On white

11.88
#541081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541081
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541081#FFFFFF#000000##FFFFFF
##5410811.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#00377F
Tritanopia (blue-blind)
#4C314B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #541081;
/* rgb */ color: rgb(84, 16, 129);
/* oklch */ color: oklch(36.0% 0.170 306.1);
Tailwind
colors: {
  custom: {
    50: '#8a5aa6',
    500: '#541081',
    950: '#000000',
  },
}
SCSS
$custom: #541081;
$custom-light: #8a5aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#541081",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 129
  },
  "hsl": {
    "h": 276.106,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35983,
    "c": 0.17024,
    "h": 306.1
  },
  "luminance": 0.0384
}

Semantic roles & 50–950 ramp

primary
#541081
secondary
#69B736
accent
#F43380
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #541081

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

Preview Lab → · Contrast checker → · Palette generator →

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