#541D74#541D74

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

Color values

HEX#541D74
RGBrgb(84, 29, 116)
HSLhsl(278, 60%, 28%)
HSVhsv(278, 75%, 45%)
CMYKcmyk(27.6%, 75%, 0%, 54.5%)
CIE-LABlab(23.75, 40.67, -38.97)
CIE-LCHlch(23.75, 56.33, 316.22°)
OKLaboklab(36.08% 0.0923 -0.1104)
OKLCHoklch(36.08% 0.144 309.9)
XYZxyz(7.2473, 4.0247, 16.9147)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541D74 #3D741D
analogous
#281D74 #541D74 #741D68
triadic
#541D74 #74541D #1D7454
tetradic
#541D74 #74281D #3D741D #1D6874
square
#541D74 #74281D #3D741D #1D6874
split-complementary
#541D74 #68741D #1D7428
monochromatic
#120618 #311143 #541D74 #7729A5 #993DCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##541D74#FFFFFF#000000##FFFFFF
##541D741.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)
#003676
Deuteranopia (green-blind)
#0B3972
Tritanopia (blue-blind)
#4F3146
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #541d74;
/* rgb */ color: rgb(84, 29, 116);
/* oklch */ color: oklch(36.1% 0.144 309.9);
Tailwind
colors: {
  custom: {
    50: '#885f9d',
    500: '#541d74',
    950: '#000000',
  },
}
SCSS
$custom: #541d74;
$custom-light: #885f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#541d74",
  "rgb": {
    "r": 84,
    "g": 29,
    "b": 116
  },
  "hsl": {
    "h": 277.931,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36076,
    "c": 0.1439,
    "h": 309.9
  },
  "luminance": 0.04025
}

Semantic roles & 50–950 ramp

primary
#541D74
secondary
#69A845
accent
#E3457F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #541D74

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

Preview Lab → · Contrast checker → · Palette generator →

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