#541B75#541B75

#541B75 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.147 H 309.8°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#541B75
RGBrgb(84, 27, 117)
HSLhsl(278, 63%, 28%)
HSVhsv(278, 77%, 46%)
CMYKcmyk(28.2%, 76.9%, 0%, 54.1%)
CIE-LABlab(23.52, 41.80, -40.00)
CIE-LCHlch(23.52, 57.86, 316.26°)
OKLaboklab(35.93% 0.0943 -0.1134)
OKLCHoklch(35.93% 0.147 309.8)
XYZxyz(7.2583, 3.9532, 17.2069)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B75 #3C751B
analogous
#271B75 #541B75 #751B69
triadic
#541B75 #75541B #1B7554
tetradic
#541B75 #75271B #3C751B #1B6975
square
#541B75 #75271B #3C751B #1B6975
split-complementary
#541B75 #69751B #1B7527
monochromatic
#120619 #301043 #541B75 #7826A7 #9939D1

Accessibility & contrast

On white

11.73
#541B75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#541B75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541B75
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B75#FFFFFF#000000##FFFFFF
##541B751.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#053973
Tritanopia (blue-blind)
#4F3046
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #541b75;
/* rgb */ color: rgb(84, 27, 117);
/* oklch */ color: oklch(35.9% 0.147 309.8);
Tailwind
colors: {
  custom: {
    50: '#885e9d',
    500: '#541b75',
    950: '#000000',
  },
}
SCSS
$custom: #541b75;
$custom-light: #885e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#541b75",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 117
  },
  "hsl": {
    "h": 278,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35933,
    "c": 0.14745,
    "h": 309.8
  },
  "luminance": 0.03953
}

Semantic roles & 50–950 ramp

primary
#541B75
secondary
#68A942
accent
#E6427E
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #541B75

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

Preview Lab → · Contrast checker → · Palette generator →

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