#541E71#541E71

#541E71 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.139 H 311.1°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#541E71
RGBrgb(84, 30, 113)
HSLhsl(279, 58%, 28%)
HSVhsv(279, 73%, 44%)
CMYKcmyk(25.7%, 73.5%, 0%, 55.7%)
CIE-LABlab(23.69, 39.50, -37.15)
CIE-LCHlch(23.69, 54.23, 316.76°)
OKLaboklab(35.96% 0.0917 -0.105)
OKLCHoklch(35.96% 0.139 311.1)
XYZxyz(7.1005, 4.0058, 16.0187)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E71 #3B711E
analogous
#2A1E71 #541E71 #711E64
triadic
#541E71 #71541E #1E7154
tetradic
#541E71 #712A1E #3B711E #1E6471
square
#541E71 #712A1E #3B711E #1E6471
split-complementary
#541E71 #64711E #1E712A
monochromatic
#120618 #301141 #541E71 #782BA1 #9A3ECC

Accessibility & contrast

On white

11.66
#541E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#541E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541E71
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E71#FFFFFF#000000##FFFFFF
##541E711.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#12396F
Tritanopia (blue-blind)
#503045
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #541e71;
/* rgb */ color: rgb(84, 30, 113);
/* oklch */ color: oklch(36.0% 0.139 311.1);
Tailwind
colors: {
  custom: {
    50: '#875f9a',
    500: '#541e71',
    950: '#000000',
  },
}
SCSS
$custom: #541e71;
$custom-light: #875f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#541e71",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 279.036,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3596,
    "c": 0.13938,
    "h": 311.1
  },
  "luminance": 0.04006
}

Semantic roles & 50–950 ramp

primary
#541E71
secondary
#67A546
accent
#E1477D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #541E71

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

Preview Lab → · Contrast checker → · Palette generator →

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