#541E75#541E75

#541E75 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.144 H 309.3°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#541E75
RGBrgb(84, 30, 117)
HSLhsl(277, 59%, 29%)
HSVhsv(277, 74%, 46%)
CMYKcmyk(28.2%, 74.4%, 0%, 54.1%)
CIE-LABlab(23.99, 40.45, -39.23)
CIE-LCHlch(23.99, 56.35, 315.88°)
OKLaboklab(36.27% 0.0911 -0.1111)
OKLCHoklch(36.27% 0.144 309.3)
XYZxyz(7.3307, 4.0979, 17.2310)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E75 #3F751E
analogous
#281E75 #541E75 #751E6B
triadic
#541E75 #75541E #1E7554
tetradic
#541E75 #75281E #3F751E #1E6B75
square
#541E75 #75281E #3F751E #1E6B75
split-complementary
#541E75 #6B751E #1E7528
monochromatic
#110618 #311244 #541E75 #772AA6 #9840CE

Accessibility & contrast

On white

11.54
#541E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#541E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541E75
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E75#FFFFFF#000000##FFFFFF
##541E751.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#0A3A73
Tritanopia (blue-blind)
#4F3247
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #541e75;
/* rgb */ color: rgb(84, 30, 117);
/* oklch */ color: oklch(36.3% 0.144 309.3);
Tailwind
colors: {
  custom: {
    50: '#885f9d',
    500: '#541e75',
    950: '#000000',
  },
}
SCSS
$custom: #541e75;
$custom-light: #885f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#541e75",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 117
  },
  "hsl": {
    "h": 277.241,
    "s": 59.184,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36271,
    "c": 0.14368,
    "h": 309.3
  },
  "luminance": 0.04098
}

Semantic roles & 50–950 ramp

primary
#541E75
secondary
#6BA946
accent
#E24581
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #541E75

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

Preview Lab → · Contrast checker → · Palette generator →

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