#541079#541079

#541079 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.3% C 0.163 H 309.2°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#541079
RGBrgb(84, 16, 121)
HSLhsl(279, 77%, 27%)
HSVhsv(279, 87%, 47%)
CMYKcmyk(30.6%, 86.8%, 0%, 52.5%)
CIE-LABlab(22.43, 46.81, -44.32)
CIE-LCHlch(22.43, 64.47, 316.57°)
OKLaboklab(35.27% 0.1029 -0.126)
OKLCHoklch(35.27% 0.163 309.2)
XYZxyz(7.2919, 3.6360, 18.4031)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541079 #357910
analogous
#201079 #541079 #79106A
triadic
#541079 #795410 #107954
tetradic
#541079 #792010 #357910 #106A79
square
#541079 #792010 #357910 #106A79
split-complementary
#541079 #6A7910 #107920
monochromatic
#13041B #2E0943 #541079 #7A17AF #9E22E2

Accessibility & contrast

On white

12.16
#541079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#541079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541079
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541079#FFFFFF#000000##FFFFFF
##5410791.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#003677
Tritanopia (blue-blind)
#4E2D46
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #541079;
/* rgb */ color: rgb(84, 16, 121);
/* oklch */ color: oklch(35.3% 0.163 309.2);
Tailwind
colors: {
  custom: {
    50: '#8959a0',
    500: '#541079',
    950: '#000000',
  },
}
SCSS
$custom: #541079;
$custom-light: #8959a0;
$custom-dark: #000000;
JSON
{
  "hex": "#541079",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 121
  },
  "hsl": {
    "h": 278.857,
    "s": 76.642,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35274,
    "c": 0.16266,
    "h": 309.2
  },
  "luminance": 0.03636
}

Semantic roles & 50–950 ramp

primary
#541079
secondary
#60B035
accent
#F33578
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #541079

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

Preview Lab → · Contrast checker → · Palette generator →

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