#541673#541673

#541673 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.3% C 0.151 H 311.2°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#541673
RGBrgb(84, 22, 115)
HSLhsl(280, 68%, 27%)
HSVhsv(280, 81%, 45%)
CMYKcmyk(27%, 80.9%, 0%, 54.9%)
CIE-LABlab(22.64, 43.39, -40.13)
CIE-LCHlch(22.64, 59.10, 317.24°)
OKLaboklab(35.27% 0.0996 -0.1137)
OKLCHoklch(35.27% 0.151 311.2)
XYZxyz(7.0370, 3.6966, 16.5592)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541673 #357316
analogous
#261673 #541673 #731664
triadic
#541673 #735416 #167354
tetradic
#541673 #732616 #357316 #166473
square
#541673 #732616 #357316 #166473
split-complementary
#541673 #647316 #167326
monochromatic
#13051A #2E0C40 #541673 #7A20A6 #9E2DD7

Accessibility & contrast

On white

12.07
#541673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541673
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541673#FFFFFF#000000##FFFFFF
##5416731.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003376
Deuteranopia (green-blind)
#013771
Tritanopia (blue-blind)
#502D44
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #541673;
/* rgb */ color: rgb(84, 22, 115);
/* oklch */ color: oklch(35.3% 0.151 311.2);
Tailwind
colors: {
  custom: {
    50: '#885b9c',
    500: '#541673',
    950: '#000000',
  },
}
SCSS
$custom: #541673;
$custom-light: #885b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#541673",
  "rgb": {
    "r": 84,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 280,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35266,
    "c": 0.15115,
    "h": 311.2
  },
  "luminance": 0.03696
}

Semantic roles & 50–950 ramp

primary
#541673
secondary
#60A93C
accent
#EB3D77
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541673

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

Preview Lab → · Contrast checker → · Palette generator →

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