#541575#541575

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

Color values

HEX#541575
RGBrgb(84, 21, 117)
HSLhsl(279, 70%, 27%)
HSVhsv(279, 82%, 46%)
CMYKcmyk(28.2%, 82.1%, 0%, 54.1%)
CIE-LABlab(22.67, 44.22, -41.36)
CIE-LCHlch(22.67, 60.55, 316.91°)
OKLaboklab(35.34% 0.1 -0.1173)
OKLCHoklch(35.34% 0.154 310.4)
XYZxyz(7.1346, 3.7057, 17.1656)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541575 #367515
analogous
#241575 #541575 #751566
triadic
#541575 #755415 #157554
tetradic
#541575 #752415 #367515 #156675
square
#541575 #752415 #367515 #156675
split-complementary
#541575 #667515 #157524
monochromatic
#13051A #2F0C41 #541575 #791EA9 #9D2BD9

Accessibility & contrast

On white

12.06
#541575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541575
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541575#FFFFFF#000000##FFFFFF
##5415751.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#003773
Tritanopia (blue-blind)
#4F2D45
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #541575;
/* rgb */ color: rgb(84, 21, 117);
/* oklch */ color: oklch(35.3% 0.154 310.4);
Tailwind
colors: {
  custom: {
    50: '#885b9d',
    500: '#541575',
    950: '#000000',
  },
}
SCSS
$custom: #541575;
$custom-light: #885b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#541575",
  "rgb": {
    "r": 84,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 279.375,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35339,
    "c": 0.15418,
    "h": 310.4
  },
  "luminance": 0.03706
}

Semantic roles & 50–950 ramp

primary
#541575
secondary
#61AB3B
accent
#EC3B78
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541575

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

Preview Lab → · Contrast checker → · Palette generator →

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