#541680#541680

#541680 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.164 H 305.9°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#541680
RGBrgb(84, 22, 128)
HSLhsl(275, 71%, 29%)
HSVhsv(275, 83%, 50%)
CMYKcmyk(34.4%, 82.8%, 0%, 49.8%)
CIE-LABlab(23.73, 46.40, -46.65)
CIE-LCHlch(23.73, 65.80, 314.84°)
OKLaboklab(36.37% 0.0963 -0.1329)
OKLCHoklch(36.37% 0.164 305.9)
XYZxyz(7.8385, 4.0172, 20.7803)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541680 #428016
analogous
#1F1680 #541680 #801677
triadic
#541680 #805416 #168054
tetradic
#541680 #801F16 #428016 #167780
square
#541680 #801F16 #428016 #167780
split-complementary
#541680 #778016 #16801F
monochromatic
#11041A #320D4C #541680 #761FB4 #9634DC

Accessibility & contrast

On white

11.64
#541680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#541680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541680
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541680#FFFFFF#000000##FFFFFF
##5416801.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003783
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#4C324C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #541680;
/* rgb */ color: rgb(84, 22, 128);
/* oklch */ color: oklch(36.4% 0.164 305.9);
Tailwind
colors: {
  custom: {
    50: '#895ca6',
    500: '#541680',
    950: '#000000',
  },
}
SCSS
$custom: #541680;
$custom-light: #895ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#541680",
  "rgb": {
    "r": 84,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 275.094,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36366,
    "c": 0.16409,
    "h": 305.9
  },
  "luminance": 0.04017
}

Semantic roles & 50–950 ramp

primary
#541680
secondary
#6FB53D
accent
#ED3A85
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #541680

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

Preview Lab → · Contrast checker → · Palette generator →

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