#541B73#541B73

#541B73 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.145 H 310.6°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#541B73
RGBrgb(84, 27, 115)
HSLhsl(279, 62%, 28%)
HSVhsv(279, 77%, 45%)
CMYKcmyk(27%, 76.5%, 0%, 54.9%)
CIE-LABlab(23.36, 41.33, -38.97)
CIE-LCHlch(23.36, 56.81, 316.69°)
OKLaboklab(35.77% 0.0946 -0.1103)
OKLCHoklch(35.77% 0.145 310.6)
XYZxyz(7.1420, 3.9067, 16.5942)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B73 #3A731B
analogous
#281B73 #541B73 #731B66
triadic
#541B73 #73541B #1B7354
tetradic
#541B73 #73281B #3A731B #1B6673
square
#541B73 #73281B #3A731B #1B6673
split-complementary
#541B73 #66731B #1B7328
monochromatic
#120619 #300F41 #541B73 #7827A5 #9B38D0

Accessibility & contrast

On white

11.79
#541B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#541B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541B73
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B73#FFFFFF#000000##FFFFFF
##541B731.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#0A3971
Tritanopia (blue-blind)
#502F45
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #541b73;
/* rgb */ color: rgb(84, 27, 115);
/* oklch */ color: oklch(35.8% 0.145 310.6);
Tailwind
colors: {
  custom: {
    50: '#885e9c',
    500: '#541b73',
    950: '#000000',
  },
}
SCSS
$custom: #541b73;
$custom-light: #885e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#541b73",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 115
  },
  "hsl": {
    "h": 278.864,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35773,
    "c": 0.14536,
    "h": 310.6
  },
  "luminance": 0.03906
}

Semantic roles & 50–950 ramp

primary
#541B73
secondary
#66A842
accent
#E5437C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #541B73

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

Preview Lab → · Contrast checker → · Palette generator →

#541B73 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva