#541E95#541E95

#541E95 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.178 H 298.0°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#541E95
RGBrgb(84, 30, 149)
HSLhsl(267, 66%, 35%)
HSVhsv(267, 80%, 58%)
CMYKcmyk(43.6%, 79.9%, 0%, 41.6%)
CIE-LABlab(26.69, 48.40, -54.91)
CIE-LCHlch(26.69, 73.20, 311.39°)
OKLaboklab(39.01% 0.0835 -0.1572)
OKLCHoklch(39.01% 0.178 298)
XYZxyz(9.5438, 4.9831, 28.8870)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E95 #5F951E
analogous
#1E2495 #541E95 #8F1E95
triadic
#541E95 #95541E #1E9554
tetradic
#541E95 #951E24 #5F951E #1E958F
square
#541E95 #951E24 #5F951E #1E958F
split-complementary
#541E95 #958F1E #24951E
monochromatic
#1B092F #371462 #541E95 #7128C8 #9051DC

Accessibility & contrast

On white

10.52
#541E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541E95
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E95#FFFFFF#000000##FFFFFF
##541E951.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#433F59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #541e95;
/* rgb */ color: rgb(84, 30, 149);
/* oklch */ color: oklch(39.0% 0.178 298.0);
Tailwind
colors: {
  custom: {
    50: '#8b61b5',
    500: '#541e95',
    950: '#000000',
  },
}
SCSS
$custom: #541e95;
$custom-light: #8b61b5;
$custom-dark: #000000;
JSON
{
  "hex": "#541e95",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 267.227,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39005,
    "c": 0.17802,
    "h": 298
  },
  "luminance": 0.04983
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #541E95

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

Preview Lab → · Contrast checker → · Palette generator →

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