#541B83#541B83

#541B83 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.162 H 304.2°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#541B83
RGBrgb(84, 27, 131)
HSLhsl(273, 66%, 31%)
HSVhsv(273, 79%, 51%)
CMYKcmyk(35.9%, 79.4%, 0%, 48.6%)
CIE-LABlab(24.66, 45.16, -47.02)
CIE-LCHlch(24.66, 65.19, 313.84°)
OKLaboklab(37.1% 0.0912 -0.134)
OKLCHoklch(37.1% 0.162 304.2)
XYZxyz(8.1439, 4.3074, 21.8707)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B83 #4A831B
analogous
#201B83 #541B83 #831B7E
triadic
#541B83 #83541B #1B8354
tetradic
#541B83 #83201B #4A831B #1B7E83
square
#541B83 #83201B #4A831B #1B7E83
split-complementary
#541B83 #7E831B #1B8320
monochromatic
#13061E #331150 #541B83 #7525B6 #9341D8

Accessibility & contrast

On white

11.28
#541B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#541B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541B83
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B83#FFFFFF#000000##FFFFFF
##541B831.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003A81
Tritanopia (blue-blind)
#4B364E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #541b83;
/* rgb */ color: rgb(84, 27, 131);
/* oklch */ color: oklch(37.1% 0.162 304.2);
Tailwind
colors: {
  custom: {
    50: '#895ea8',
    500: '#541b83',
    950: '#000000',
  },
}
SCSS
$custom: #541b83;
$custom-light: #895ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#541b83",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 272.885,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37099,
    "c": 0.16207,
    "h": 304.2
  },
  "luminance": 0.04307
}

Semantic roles & 50–950 ramp

primary
#541B83
secondary
#77B643
accent
#E93F8C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #541B83

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

Preview Lab → · Contrast checker → · Palette generator →

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