#541E72#541E72

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

Color values

HEX#541E72
RGBrgb(84, 30, 114)
HSLhsl(279, 58%, 28%)
HSVhsv(279, 74%, 45%)
CMYKcmyk(26.3%, 73.7%, 0%, 55.3%)
CIE-LABlab(23.77, 39.74, -37.67)
CIE-LCHlch(23.77, 54.76, 316.53°)
OKLaboklab(36.04% 0.0915 -0.1065)
OKLCHoklch(36.04% 0.14 310.7)
XYZxyz(7.1571, 4.0284, 16.3169)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E72 #3C721E
analogous
#2A1E72 #541E72 #721E66
triadic
#541E72 #72541E #1E7254
tetradic
#541E72 #722A1E #3C721E #1E6672
square
#541E72 #722A1E #3C721E #1E6672
split-complementary
#541E72 #66721E #1E722A
monochromatic
#120618 #301142 #541E72 #782BA2 #993ECC

Accessibility & contrast

On white

11.63
#541E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#541E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541E72
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E72#FFFFFF#000000##FFFFFF
##541E721.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003674
Deuteranopia (green-blind)
#103970
Tritanopia (blue-blind)
#503046
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #541e72;
/* rgb */ color: rgb(84, 30, 114);
/* oklch */ color: oklch(36.0% 0.140 310.7);
Tailwind
colors: {
  custom: {
    50: '#875f9b',
    500: '#541e72',
    950: '#000000',
  },
}
SCSS
$custom: #541e72;
$custom-light: #875f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#541e72",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 114
  },
  "hsl": {
    "h": 278.571,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36037,
    "c": 0.14045,
    "h": 310.7
  },
  "luminance": 0.04028
}

Semantic roles & 50–950 ramp

primary
#541E72
secondary
#68A646
accent
#E2467E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #541E72

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

Preview Lab → · Contrast checker → · Palette generator →

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