#541699#541699

#541699 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.7% C 0.189 H 297.7°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#541699
RGBrgb(84, 22, 153)
HSLhsl(268, 75%, 34%)
HSVhsv(268, 86%, 60%)
CMYKcmyk(45.1%, 85.6%, 0%, 40%)
CIE-LABlab(26.04, 52.40, -58.44)
CIE-LCHlch(26.04, 78.50, 311.88°)
OKLaboklab(38.67% 0.0879 -0.1675)
OKLCHoklch(38.67% 0.189 297.7)
XYZxyz(9.6913, 4.7584, 30.5387)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541699 #5B9916
analogous
#161A99 #541699 #961699
triadic
#541699 #995416 #169954
tetradic
#541699 #99161A #5B9916 #169996
square
#541699 #99161A #5B9916 #169996
split-complementary
#541699 #999616 #1A9916
monochromatic
#19072E #370E63 #541699 #711ECF #9045E4

Accessibility & contrast

On white

10.76
#541699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#541699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541699
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541699#FFFFFF#000000##FFFFFF
##5416991.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9C
Deuteranopia (green-blind)
#003C97
Tritanopia (blue-blind)
#423E5A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #541699;
/* rgb */ color: rgb(84, 22, 153);
/* oklch */ color: oklch(38.7% 0.189 297.7);
Tailwind
colors: {
  custom: {
    50: '#8c5eb8',
    500: '#541699',
    950: '#000000',
  },
}
SCSS
$custom: #541699;
$custom-light: #8c5eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#541699",
  "rgb": {
    "r": 84,
    "g": 22,
    "b": 153
  },
  "hsl": {
    "h": 268.397,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38669,
    "c": 0.18913,
    "h": 297.7
  },
  "luminance": 0.04759
}

Semantic roles & 50–950 ramp

primary
#541699
secondary
#89C546
accent
#F13699
background
#F9F5FB
surface
#F1E9F6
border
#CBC5D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #541699

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

Preview Lab → · Contrast checker → · Palette generator →

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