#541C71#541C71

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

Color values

HEX#541C71
RGBrgb(84, 28, 113)
HSLhsl(280, 60%, 28%)
HSVhsv(280, 75%, 44%)
CMYKcmyk(25.7%, 75.2%, 0%, 55.7%)
CIE-LABlab(23.36, 40.42, -37.68)
CIE-LCHlch(23.36, 55.26, 317.01°)
OKLaboklab(35.73% 0.0939 -0.1065)
OKLCHoklch(35.73% 0.142 311.4)
XYZxyz(7.0515, 3.9078, 16.0024)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541C71 #39711C
analogous
#291C71 #541C71 #711C64
triadic
#541C71 #71541C #1C7154
tetradic
#541C71 #71291C #39711C #1C6471
square
#541C71 #71291C #39711C #1C6471
split-complementary
#541C71 #64711C #1C7129
monochromatic
#120619 #301040 #541C71 #7828A2 #9B39CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##541C71#FFFFFF#000000##FFFFFF
##541C711.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)
#003573
Deuteranopia (green-blind)
#0F396F
Tritanopia (blue-blind)
#502F44
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #541c71;
/* rgb */ color: rgb(84, 28, 113);
/* oklch */ color: oklch(35.7% 0.142 311.4);
Tailwind
colors: {
  custom: {
    50: '#885e9a',
    500: '#541c71',
    950: '#000000',
  },
}
SCSS
$custom: #541c71;
$custom-light: #885e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#541c71",
  "rgb": {
    "r": 84,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 279.529,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.35728,
    "c": 0.14201,
    "h": 311.4
  },
  "luminance": 0.03908
}

Semantic roles & 50–950 ramp

primary
#541C71
secondary
#65A643
accent
#E3447B
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #541C71

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

Preview Lab → · Contrast checker → · Palette generator →

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