#541E7B#541E7B

#541E7B is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.150 H 306.9°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#541E7B
RGBrgb(84, 30, 123)
HSLhsl(275, 61%, 30%)
HSVhsv(275, 76%, 48%)
CMYKcmyk(31.7%, 75.6%, 0%, 51.8%)
CIE-LABlab(24.46, 41.90, -42.29)
CIE-LCHlch(24.46, 59.53, 314.73°)
OKLaboklab(36.75% 0.0901 -0.1201)
OKLCHoklch(36.75% 0.15 306.9)
XYZxyz(7.6948, 4.2435, 19.1488)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E7B #457B1E
analogous
#261E7B #541E7B #7B1E73
triadic
#541E7B #7B541E #1E7B54
tetradic
#541E7B #7B261E #457B1E #1E737B
square
#541E7B #7B261E #457B1E #1E737B
split-complementary
#541E7B #737B1E #1E7B26
monochromatic
#110619 #32124A #541E7B #762AAC #9542D1

Accessibility & contrast

On white

11.36
#541E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#541E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541E7B
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E7B#FFFFFF#000000##FFFFFF
##541E7B1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387E
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#4D344B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #541e7b;
/* rgb */ color: rgb(84, 30, 123);
/* oklch */ color: oklch(36.8% 0.150 306.9);
Tailwind
colors: {
  custom: {
    50: '#885fa2',
    500: '#541e7b',
    950: '#000000',
  },
}
SCSS
$custom: #541e7b;
$custom-light: #885fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#541e7b",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 274.839,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.36751,
    "c": 0.15013,
    "h": 306.9
  },
  "luminance": 0.04243
}

Semantic roles & 50–950 ramp

primary
#541E7B
secondary
#72AE46
accent
#E44487
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #541E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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