#541E96#541E96

#541E96 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.179 H 297.7°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#541E96
RGBrgb(84, 30, 150)
HSLhsl(267, 67%, 35%)
HSVhsv(267, 80%, 59%)
CMYKcmyk(44%, 80%, 0%, 41.2%)
CIE-LABlab(26.78, 48.66, -55.38)
CIE-LCHlch(26.78, 73.72, 311.30°)
OKLaboklab(39.1% 0.0832 -0.1586)
OKLCHoklch(39.1% 0.179 297.7)
XYZxyz(9.6240, 5.0152, 29.3092)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E96 #60961E
analogous
#1E2496 #541E96 #901E96
triadic
#541E96 #96541E #1E9654
tetradic
#541E96 #961E24 #60961E #1E9690
square
#541E96 #961E24 #60961E #1E9690
split-complementary
#541E96 #96901E #24961E
monochromatic
#1B0A30 #371463 #541E96 #7128C9 #9052DC

Accessibility & contrast

On white

10.48
#541E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#541E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541E96
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E96#FFFFFF#000000##FFFFFF
##541E961.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#433F5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #541e96;
/* rgb */ color: rgb(84, 30, 150);
/* oklch */ color: oklch(39.1% 0.179 297.7);
Tailwind
colors: {
  custom: {
    50: '#8b61b6',
    500: '#541e96',
    950: '#000000',
  },
}
SCSS
$custom: #541e96;
$custom-light: #8b61b6;
$custom-dark: #000000;
JSON
{
  "hex": "#541e96",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 267,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39097,
    "c": 0.17909,
    "h": 297.7
  },
  "luminance": 0.05015
}

Semantic roles & 50–950 ramp

primary
#541E96
secondary
#8DBF50
accent
#EA3E9C
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #541E96

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

Preview Lab → · Contrast checker → · Palette generator →

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