#541679#541679

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

Color values

HEX#541679
RGBrgb(84, 22, 121)
HSLhsl(278, 69%, 28%)
HSVhsv(278, 82%, 47%)
CMYKcmyk(30.6%, 81.8%, 0%, 52.5%)
CIE-LABlab(23.13, 44.76, -43.18)
CIE-LCHlch(23.13, 62.19, 316.03°)
OKLaboklab(35.76% 0.0982 -0.1227)
OKLCHoklch(35.76% 0.157 308.7)
XYZxyz(7.3935, 3.8392, 18.4370)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541679 #3B7916
analogous
#231679 #541679 #79166C
triadic
#541679 #795416 #167954
tetradic
#541679 #792316 #3B7916 #166C79
square
#541679 #792316 #3B7916 #166C79
split-complementary
#541679 #6C7916 #167923
monochromatic
#12051A #300D45 #541679 #781FAD #9A30D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##541679#FFFFFF#000000##FFFFFF
##5416791.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)
#00357C
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#4E2F48
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #541679;
/* rgb */ color: rgb(84, 22, 121);
/* oklch */ color: oklch(35.8% 0.157 308.7);
Tailwind
colors: {
  custom: {
    50: '#895ca0',
    500: '#541679',
    950: '#000000',
  },
}
SCSS
$custom: #541679;
$custom-light: #895ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#541679",
  "rgb": {
    "r": 84,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 277.576,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35764,
    "c": 0.15711,
    "h": 308.7
  },
  "luminance": 0.03839
}

Semantic roles & 50–950 ramp

primary
#541679
secondary
#67AE3D
accent
#EC3C7E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040F
muted
#7D797E

Preview Lab

Preview with #541679

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

Preview Lab → · Contrast checker → · Palette generator →

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