#541885#541885

#541885 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.0% C 0.167 H 303.9°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#541885
RGBrgb(84, 24, 133)
HSLhsl(273, 69%, 31%)
HSVhsv(273, 82%, 52%)
CMYKcmyk(36.8%, 82%, 0%, 47.8%)
CIE-LABlab(24.42, 46.84, -48.67)
CIE-LCHlch(24.42, 67.54, 313.90°)
OKLaboklab(36.99% 0.0932 -0.1388)
OKLCHoklch(36.99% 0.167 303.9)
XYZxyz(8.2154, 4.2316, 22.5697)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541885 #498518
analogous
#1E1885 #541885 #85187F
triadic
#541885 #855418 #188554
tetradic
#541885 #851E18 #498518 #187F85
square
#541885 #851E18 #498518 #187F85
split-complementary
#541885 #7F8518 #18851E
monochromatic
#13051D #330F51 #541885 #7521B9 #943CDC

Accessibility & contrast

On white

11.37
#541885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#541885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541885
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541885#FFFFFF#000000##FFFFFF
##5418851.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#4A354F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #541885;
/* rgb */ color: rgb(84, 24, 133);
/* oklch */ color: oklch(37.0% 0.167 303.9);
Tailwind
colors: {
  custom: {
    50: '#8a5da9',
    500: '#541885',
    950: '#000000',
  },
}
SCSS
$custom: #541885;
$custom-light: #8a5da9;
$custom-dark: #000000;
JSON
{
  "hex": "#541885",
  "rgb": {
    "r": 84,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 273.028,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36985,
    "c": 0.1672,
    "h": 303.9
  },
  "luminance": 0.04232
}

Semantic roles & 50–950 ramp

primary
#541885
secondary
#76B940
accent
#EC3C8B
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #541885

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

Preview Lab → · Contrast checker → · Palette generator →

#541885 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva