#541E94#541E94

#541E94 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.177 H 298.3°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#541E94
RGBrgb(84, 30, 148)
HSLhsl(267, 66%, 35%)
HSVhsv(267, 80%, 58%)
CMYKcmyk(43.2%, 79.7%, 0%, 42%)
CIE-LABlab(26.60, 48.15, -54.45)
CIE-LCHlch(26.60, 72.68, 311.49°)
OKLaboklab(38.91% 0.0838 -0.1558)
OKLCHoklch(38.91% 0.177 298.3)
XYZxyz(9.4643, 4.9513, 28.4683)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E94 #5E941E
analogous
#1E2394 #541E94 #8F1E94
triadic
#541E94 #94541E #1E9454
tetradic
#541E94 #941E23 #5E941E #1E948F
square
#541E94 #941E23 #5E941E #1E948F
split-complementary
#541E94 #948F1E #23941E
monochromatic
#1A092E #371461 #541E94 #7128C7 #9051DC

Accessibility & contrast

On white

10.55
#541E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#541E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541E94
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E94#FFFFFF#000000##FFFFFF
##541E941.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003E92
Tritanopia (blue-blind)
#443E59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #541e94;
/* rgb */ color: rgb(84, 30, 148);
/* oklch */ color: oklch(38.9% 0.177 298.3);
Tailwind
colors: {
  custom: {
    50: '#8b61b4',
    500: '#541e94',
    950: '#000000',
  },
}
SCSS
$custom: #541e94;
$custom-light: #8b61b4;
$custom-dark: #000000;
JSON
{
  "hex": "#541e94",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 148
  },
  "hsl": {
    "h": 267.458,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38914,
    "c": 0.17695,
    "h": 298.3
  },
  "luminance": 0.04951
}

Semantic roles & 50–950 ramp

primary
#541E94
secondary
#8CBF4F
accent
#E93F9B
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0D0511
muted
#7D7980

Preview Lab

Preview with #541E94

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

Preview Lab → · Contrast checker → · Palette generator →

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