#541EA7#541EA7

#541EA7 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.7% C 0.197 H 293.2°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#541EA7
RGBrgb(84, 30, 167)
HSLhsl(264, 70%, 39%)
HSVhsv(264, 82%, 65%)
CMYKcmyk(49.7%, 82%, 0%, 34.5%)
CIE-LABlab(28.39, 53.02, -63.10)
CIE-LCHlch(28.39, 82.42, 310.04°)
OKLaboklab(40.7% 0.0777 -0.1812)
OKLCHoklch(40.7% 0.197 293.2)
XYZxyz(11.0935, 5.6030, 37.0487)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541EA7 #71A71E
analogous
#1E2CA7 #541EA7 #981EA7
triadic
#541EA7 #A7541E #1EA754
tetradic
#541EA7 #A71E2C #71A71E #1EA798
square
#541EA7 #A71E2C #71A71E #1EA798
split-complementary
#541EA7 #A7981E #2CA71E
monochromatic
#200B3F #3A1573 #541EA7 #6F2AD9 #925DE2

Accessibility & contrast

On white

9.90
#541EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#541EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541EA7
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541EA7#FFFFFF#000000##FFFFFF
##541EA71.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#0040A5
Tritanopia (blue-blind)
#394764
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #541ea7;
/* rgb */ color: rgb(84, 30, 167);
/* oklch */ color: oklch(40.7% 0.197 293.2);
Tailwind
colors: {
  custom: {
    50: '#8d62c2',
    500: '#541ea7',
    950: '#000000',
  },
}
SCSS
$custom: #541ea7;
$custom-light: #8d62c2;
$custom-dark: #000000;
JSON
{
  "hex": "#541ea7",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 263.65,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40704,
    "c": 0.19713,
    "h": 293.2
  },
  "luminance": 0.05603
}

Semantic roles & 50–950 ramp

primary
#541EA7
secondary
#9CC65B
accent
#EC3BA7
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0513
muted
#7E7A82

Preview Lab

Preview with #541EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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