#541EA1#541EA1

#541EA1 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.1% C 0.191 H 294.7°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#541EA1
RGBrgb(84, 30, 161)
HSLhsl(265, 69%, 37%)
HSVhsv(265, 81%, 63%)
CMYKcmyk(47.8%, 81.4%, 0%, 36.9%)
CIE-LABlab(27.81, 51.48, -60.41)
CIE-LCHlch(27.81, 79.37, 310.43°)
OKLaboklab(40.13% 0.0797 -0.1733)
OKLCHoklch(40.13% 0.191 294.7)
XYZxyz(10.5517, 5.3863, 34.1950)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541EA1 #6BA11E
analogous
#1E29A1 #541EA1 #961EA1
triadic
#541EA1 #A1541E #1EA154
tetradic
#541EA1 #A11E29 #6BA11E #1EA196
square
#541EA1 #A11E29 #6BA11E #1EA196
split-complementary
#541EA1 #A1961E #29A11E
monochromatic
#1E0B3A #39146D #541EA1 #6F28D5 #9159E0

Accessibility & contrast

On white

10.11
#541EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#541EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541EA1
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541EA1#FFFFFF#000000##FFFFFF
##541EA11.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A5
Deuteranopia (green-blind)
#003F9F
Tritanopia (blue-blind)
#3D4460
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #541ea1;
/* rgb */ color: rgb(84, 30, 161);
/* oklch */ color: oklch(40.1% 0.191 294.7);
Tailwind
colors: {
  custom: {
    50: '#8c62be',
    500: '#541ea1',
    950: '#000000',
  },
}
SCSS
$custom: #541ea1;
$custom-light: #8c62be;
$custom-dark: #000000;
JSON
{
  "hex": "#541ea1",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 264.733,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40127,
    "c": 0.19078,
    "h": 294.7
  },
  "luminance": 0.05387
}

Semantic roles & 50–950 ramp

primary
#541EA1
secondary
#97C457
accent
#EB3CA3
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #541EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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