#541EA0#541EA0

#541EA0 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.190 H 295.0°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#541EA0
RGBrgb(84, 30, 160)
HSLhsl(265, 68%, 37%)
HSVhsv(265, 81%, 63%)
CMYKcmyk(47.5%, 81.3%, 0%, 37.3%)
CIE-LABlab(27.71, 51.22, -59.96)
CIE-LCHlch(27.71, 78.86, 310.50°)
OKLaboklab(40.03% 0.0801 -0.172)
OKLCHoklch(40.03% 0.19 295)
XYZxyz(10.4639, 5.3511, 33.7324)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541EA0 #6AA01E
analogous
#1E29A0 #541EA0 #951EA0
triadic
#541EA0 #A0541E #1EA054
tetradic
#541EA0 #A01E29 #6AA01E #1EA095
square
#541EA0 #A01E29 #6AA01E #1EA095
split-complementary
#541EA0 #A0951E #29A01E
monochromatic
#1E0B39 #39146C #541EA0 #6F28D4 #9159E0

Accessibility & contrast

On white

10.14
#541EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#541EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541EA0
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541EA0#FFFFFF#000000##FFFFFF
##541EA01.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A4
Deuteranopia (green-blind)
#003F9E
Tritanopia (blue-blind)
#3E4460
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #541ea0;
/* rgb */ color: rgb(84, 30, 160);
/* oklch */ color: oklch(40.0% 0.190 295.0);
Tailwind
colors: {
  custom: {
    50: '#8c61bd',
    500: '#541ea0',
    950: '#000000',
  },
}
SCSS
$custom: #541ea0;
$custom-light: #8c61bd;
$custom-dark: #000000;
JSON
{
  "hex": "#541ea0",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 264.923,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40032,
    "c": 0.18972,
    "h": 295
  },
  "luminance": 0.05351
}

Semantic roles & 50–950 ramp

primary
#541EA0
secondary
#96C456
accent
#EB3DA3
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #541EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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