#541773#541773

#541773 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.150 H 311.1°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#541773
RGBrgb(84, 23, 115)
HSLhsl(280, 67%, 27%)
HSVhsv(280, 80%, 45%)
CMYKcmyk(27%, 80%, 0%, 54.9%)
CIE-LABlab(22.78, 43.00, -39.91)
CIE-LCHlch(22.78, 58.67, 317.13°)
OKLaboklab(35.36% 0.0986 -0.1131)
OKLCHoklch(35.36% 0.15 311.1)
XYZxyz(7.0565, 3.7356, 16.5656)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541773 #367317
analogous
#261773 #541773 #731764
triadic
#541773 #735417 #177354
tetradic
#541773 #732617 #367317 #176473
square
#541773 #732617 #367317 #176473
split-complementary
#541773 #647317 #177326
monochromatic
#13051A #2F0D40 #541773 #7921A6 #9D2FD5

Accessibility & contrast

On white

12.02
#541773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#541773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541773
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541773#FFFFFF#000000##FFFFFF
##5417731.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #541773;
/* rgb */ color: rgb(84, 23, 115);
/* oklch */ color: oklch(35.4% 0.150 311.1);
Tailwind
colors: {
  custom: {
    50: '#885c9c',
    500: '#541773',
    950: '#000000',
  },
}
SCSS
$custom: #541773;
$custom-light: #885c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#541773",
  "rgb": {
    "r": 84,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 279.783,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35362,
    "c": 0.15006,
    "h": 311.1
  },
  "luminance": 0.03735
}

Semantic roles & 50–950 ramp

primary
#541773
secondary
#61A93D
accent
#EA3E78
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541773

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

Preview Lab → · Contrast checker → · Palette generator →

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