#541E92#541E92

#541E92 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.175 H 298.9°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#541E92
RGBrgb(84, 30, 146)
HSLhsl(268, 66%, 35%)
HSVhsv(268, 79%, 57%)
CMYKcmyk(42.5%, 79.5%, 0%, 42.7%)
CIE-LABlab(26.41, 47.64, -53.51)
CIE-LCHlch(26.41, 71.64, 311.68°)
OKLaboklab(38.73% 0.0844 -0.1531)
OKLCHoklch(38.73% 0.175 298.9)
XYZxyz(9.3074, 4.8886, 27.6418)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E92 #5C921E
analogous
#1E2292 #541E92 #8E1E92
triadic
#541E92 #92541E #1E9254
tetradic
#541E92 #921E22 #5C921E #1E928E
square
#541E92 #921E22 #5C921E #1E928E
split-complementary
#541E92 #928E1E #22921E
monochromatic
#1A092C #37145F #541E92 #7128C5 #904FDB

Accessibility & contrast

On white

10.62
#541E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#541E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541E92
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E92#FFFFFF#000000##FFFFFF
##541E921.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003D90
Tritanopia (blue-blind)
#453E58
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #541e92;
/* rgb */ color: rgb(84, 30, 146);
/* oklch */ color: oklch(38.7% 0.175 298.9);
Tailwind
colors: {
  custom: {
    50: '#8b61b3',
    500: '#541e92',
    950: '#000000',
  },
}
SCSS
$custom: #541e92;
$custom-light: #8b61b3;
$custom-dark: #000000;
JSON
{
  "hex": "#541e92",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 146
  },
  "hsl": {
    "h": 267.931,
    "s": 65.909,
    "l": 34.51
  },
  "oklch": {
    "l": 0.38732,
    "c": 0.17481,
    "h": 298.9
  },
  "luminance": 0.04889
}

Semantic roles & 50–950 ramp

primary
#541E92
secondary
#8ABE4E
accent
#E93F9A
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0D0511
muted
#7D7980

Preview Lab

Preview with #541E92

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

Preview Lab → · Contrast checker → · Palette generator →

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