#541672#541672

#541672 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.2% C 0.150 H 311.6°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#541672
RGBrgb(84, 22, 114)
HSLhsl(280, 68%, 27%)
HSVhsv(280, 81%, 45%)
CMYKcmyk(26.3%, 80.7%, 0%, 55.3%)
CIE-LABlab(22.56, 43.17, -39.62)
CIE-LCHlch(22.56, 58.59, 317.45°)
OKLaboklab(35.19% 0.0998 -0.1122)
OKLCHoklch(35.19% 0.15 311.6)
XYZxyz(6.9798, 3.6737, 16.2577)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541672 #347216
analogous
#261672 #541672 #721662
triadic
#541672 #725416 #167254
tetradic
#541672 #722616 #347216 #166272
square
#541672 #722616 #347216 #166272
split-complementary
#541672 #627216 #167226
monochromatic
#13051A #2E0C3F #541672 #7A20A5 #9F2CD6

Accessibility & contrast

On white

12.11
#541672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541672
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541672#FFFFFF#000000##FFFFFF
##5416721.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#043770
Tritanopia (blue-blind)
#502C44
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #541672;
/* rgb */ color: rgb(84, 22, 114);
/* oklch */ color: oklch(35.2% 0.150 311.6);
Tailwind
colors: {
  custom: {
    50: '#885b9b',
    500: '#541672',
    950: '#000000',
  },
}
SCSS
$custom: #541672;
$custom-light: #885b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#541672",
  "rgb": {
    "r": 84,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 280.435,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35185,
    "c": 0.15016,
    "h": 311.6
  },
  "luminance": 0.03674
}

Semantic roles & 50–950 ramp

primary
#541672
secondary
#5FA83C
accent
#EB3D76
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541672

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

Preview Lab → · Contrast checker → · Palette generator →

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