#541EA6#541EA6

#541EA6 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.6% C 0.196 H 293.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#541EA6
RGBrgb(84, 30, 166)
HSLhsl(264, 69%, 38%)
HSVhsv(264, 82%, 65%)
CMYKcmyk(49.4%, 81.9%, 0%, 34.9%)
CIE-LABlab(28.29, 52.77, -62.65)
CIE-LCHlch(28.29, 81.91, 310.10°)
OKLaboklab(40.61% 0.078 -0.1799)
OKLCHoklch(40.61% 0.196 293.4)
XYZxyz(11.0014, 5.5662, 36.5637)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541EA6 #70A61E
analogous
#1E2CA6 #541EA6 #981EA6
triadic
#541EA6 #A6541E #1EA654
tetradic
#541EA6 #A61E2C #70A61E #1EA698
square
#541EA6 #A61E2C #70A61E #1EA698
split-complementary
#541EA6 #A6981E #2CA61E
monochromatic
#200B3E #3A1572 #541EA6 #6F29D8 #925DE2

Accessibility & contrast

On white

9.94
#541EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#541EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541EA6
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541EA6#FFFFFF#000000##FFFFFF
##541EA61.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#0040A4
Tritanopia (blue-blind)
#3A4663
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #541ea6;
/* rgb */ color: rgb(84, 30, 166);
/* oklch */ color: oklch(40.6% 0.196 293.4);
Tailwind
colors: {
  custom: {
    50: '#8d62c2',
    500: '#541ea6',
    950: '#000000',
  },
}
SCSS
$custom: #541ea6;
$custom-light: #8d62c2;
$custom-dark: #000000;
JSON
{
  "hex": "#541ea6",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 263.824,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40607,
    "c": 0.19607,
    "h": 293.4
  },
  "luminance": 0.05567
}

Semantic roles & 50–950 ramp

primary
#541EA6
secondary
#9BC65A
accent
#EC3CA6
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #541EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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