#541574#541574

#541574 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.153 H 310.9°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#541574
RGBrgb(84, 21, 116)
HSLhsl(280, 69%, 27%)
HSVhsv(280, 82%, 45%)
CMYKcmyk(27.6%, 81.9%, 0%, 54.5%)
CIE-LABlab(22.59, 43.99, -40.85)
CIE-LCHlch(22.59, 60.04, 317.12°)
OKLaboklab(35.26% 0.1003 -0.1158)
OKLCHoklch(35.26% 0.153 310.9)
XYZxyz(7.0761, 3.6823, 16.8576)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541574 #357415
analogous
#241574 #541574 #741565
triadic
#541574 #745415 #157454
tetradic
#541574 #742415 #357415 #156574
square
#541574 #742415 #357415 #156574
split-complementary
#541574 #657415 #157424
monochromatic
#13051A #2E0C40 #541574 #7A1EA8 #9E2BD9

Accessibility & contrast

On white

12.09
#541574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#541574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541574
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541574#FFFFFF#000000##FFFFFF
##5415741.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003377
Deuteranopia (green-blind)
#003772
Tritanopia (blue-blind)
#502D45
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #541574;
/* rgb */ color: rgb(84, 21, 116);
/* oklch */ color: oklch(35.3% 0.153 310.9);
Tailwind
colors: {
  custom: {
    50: '#885b9d',
    500: '#541574',
    950: '#000000',
  },
}
SCSS
$custom: #541574;
$custom-light: #885b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#541574",
  "rgb": {
    "r": 84,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 279.789,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35257,
    "c": 0.1532,
    "h": 310.9
  },
  "luminance": 0.03682
}

Semantic roles & 50–950 ramp

primary
#541574
secondary
#60AA3B
accent
#EC3C77
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541574

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

Preview Lab → · Contrast checker → · Palette generator →

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