#541689#541689

#541689 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.173 H 302.7°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#541689
RGBrgb(84, 22, 137)
HSLhsl(272, 72%, 31%)
HSVhsv(272, 84%, 54%)
CMYKcmyk(38.7%, 83.9%, 0%, 46.3%)
CIE-LABlab(24.53, 48.53, -51.00)
CIE-LCHlch(24.53, 70.40, 313.58°)
OKLaboklab(37.17% 0.0935 -0.1457)
OKLCHoklch(37.17% 0.173 302.7)
XYZxyz(8.4573, 4.2648, 24.0397)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541689 #4B8916
analogous
#1A1689 #541689 #891684
triadic
#541689 #895416 #168954
tetradic
#541689 #891A16 #4B8916 #168489
square
#541689 #891A16 #4B8916 #168489
split-complementary
#541689 #848916 #16891A
monochromatic
#130520 #340E54 #541689 #741EBE #933ADF

Accessibility & contrast

On white

11.33
#541689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541689
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541689#FFFFFF#000000##FFFFFF
##5416891.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#493651
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #541689;
/* rgb */ color: rgb(84, 22, 137);
/* oklch */ color: oklch(37.2% 0.173 302.7);
Tailwind
colors: {
  custom: {
    50: '#8a5dac',
    500: '#541689',
    950: '#000000',
  },
}
SCSS
$custom: #541689;
$custom-light: #8a5dac;
$custom-dark: #000000;
JSON
{
  "hex": "#541689",
  "rgb": {
    "r": 84,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 272.348,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37169,
    "c": 0.17309,
    "h": 302.7
  },
  "luminance": 0.04265
}

Semantic roles & 50–950 ramp

primary
#541689
secondary
#78BD3E
accent
#EF398D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #541689

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

Preview Lab → · Contrast checker → · Palette generator →

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