#541583#541583

#541583 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.168 H 304.9°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#541583
RGBrgb(84, 21, 131)
HSLhsl(274, 72%, 30%)
HSVhsv(274, 84%, 51%)
CMYKcmyk(35.9%, 84%, 0%, 48.6%)
CIE-LABlab(23.87, 47.46, -48.32)
CIE-LCHlch(23.87, 67.73, 314.49°)
OKLaboklab(36.55% 0.0962 -0.1378)
OKLCHoklch(36.55% 0.168 304.9)
XYZxyz(8.0201, 4.0599, 21.8294)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541583 #448315
analogous
#1D1583 #541583 #83157B
triadic
#541583 #835415 #158354
tetradic
#541583 #831D15 #448315 #157B83
square
#541583 #831D15 #448315 #157B83
split-complementary
#541583 #7B8315 #15831D
monochromatic
#11041A #320D4E #541583 #761DB8 #9634DE

Accessibility & contrast

On white

11.59
#541583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#541583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541583
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541583#FFFFFF#000000##FFFFFF
##5415831.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#4B334D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #541583;
/* rgb */ color: rgb(84, 21, 131);
/* oklch */ color: oklch(36.5% 0.168 304.9);
Tailwind
colors: {
  custom: {
    50: '#895ca8',
    500: '#541583',
    950: '#000000',
  },
}
SCSS
$custom: #541583;
$custom-light: #895ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#541583",
  "rgb": {
    "r": 84,
    "g": 21,
    "b": 131
  },
  "hsl": {
    "h": 274.364,
    "s": 72.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36545,
    "c": 0.168,
    "h": 304.9
  },
  "luminance": 0.0406
}

Semantic roles & 50–950 ramp

primary
#541583
secondary
#71B83C
accent
#EF3987
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #541583

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

Preview Lab → · Contrast checker → · Palette generator →

#541583 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva