#541D75#541D75

#541D75 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.145 H 309.5°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#541D75
RGBrgb(84, 29, 117)
HSLhsl(278, 60%, 29%)
HSVhsv(278, 75%, 46%)
CMYKcmyk(28.2%, 75.2%, 0%, 54.1%)
CIE-LABlab(23.83, 40.91, -39.49)
CIE-LCHlch(23.83, 56.86, 316.01°)
OKLaboklab(36.16% 0.0922 -0.1119)
OKLCHoklch(36.16% 0.145 309.5)
XYZxyz(7.3058, 4.0480, 17.2227)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541D75 #3E751D
analogous
#281D75 #541D75 #751D6A
triadic
#541D75 #75541D #1D7554
tetradic
#541D75 #75281D #3E751D #1D6A75
square
#541D75 #75281D #3E751D #1D6A75
split-complementary
#541D75 #6A751D #1D7528
monochromatic
#120619 #311144 #541D75 #7729A6 #983DCF

Accessibility & contrast

On white

11.60
#541D75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541D75
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541D75#FFFFFF#000000##FFFFFF
##541D751.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#093973
Tritanopia (blue-blind)
#4F3147
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #541d75;
/* rgb */ color: rgb(84, 29, 117);
/* oklch */ color: oklch(36.2% 0.145 309.5);
Tailwind
colors: {
  custom: {
    50: '#885f9d',
    500: '#541d75',
    950: '#000000',
  },
}
SCSS
$custom: #541d75;
$custom-light: #885f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#541d75",
  "rgb": {
    "r": 84,
    "g": 29,
    "b": 117
  },
  "hsl": {
    "h": 277.5,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36155,
    "c": 0.14496,
    "h": 309.5
  },
  "luminance": 0.04048
}

Semantic roles & 50–950 ramp

primary
#541D75
secondary
#6AA945
accent
#E34480
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #541D75

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

Preview Lab → · Contrast checker → · Palette generator →

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