#541889#541889

#541889 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.171 H 302.5°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#541889
RGBrgb(84, 24, 137)
HSLhsl(272, 70%, 32%)
HSVhsv(272, 82%, 54%)
CMYKcmyk(38.7%, 82.5%, 0%, 46.3%)
CIE-LABlab(24.78, 47.80, -50.59)
CIE-LCHlch(24.78, 69.61, 313.37°)
OKLaboklab(37.34% 0.092 -0.1445)
OKLCHoklch(37.34% 0.171 302.5)
XYZxyz(8.4971, 4.3442, 24.0529)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541889 #4D8918
analogous
#1B1889 #541889 #891886
triadic
#541889 #895418 #188954
tetradic
#541889 #891B18 #4D8918 #188689
square
#541889 #891B18 #4D8918 #188689
split-complementary
#541889 #868918 #18891B
monochromatic
#140621 #340F55 #541889 #7421BD #933EDD

Accessibility & contrast

On white

11.24
#541889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#541889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541889
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541889#FFFFFF#000000##FFFFFF
##5418891.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#493751
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #541889;
/* rgb */ color: rgb(84, 24, 137);
/* oklch */ color: oklch(37.3% 0.171 302.5);
Tailwind
colors: {
  custom: {
    50: '#8a5dac',
    500: '#541889',
    950: '#000000',
  },
}
SCSS
$custom: #541889;
$custom-light: #8a5dac;
$custom-dark: #000000;
JSON
{
  "hex": "#541889",
  "rgb": {
    "r": 84,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 271.858,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37343,
    "c": 0.17127,
    "h": 302.5
  },
  "luminance": 0.04344
}

Semantic roles & 50–950 ramp

primary
#541889
secondary
#7BBD40
accent
#ED3B8E
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #541889

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

Preview Lab → · Contrast checker → · Palette generator →

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