#541374#541374

#541374 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.1% C 0.155 H 311.1°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#541374
RGBrgb(84, 19, 116)
HSLhsl(280, 72%, 26%)
HSVhsv(280, 84%, 45%)
CMYKcmyk(27.6%, 83.6%, 0%, 54.5%)
CIE-LABlab(22.34, 44.71, -41.26)
CIE-LCHlch(22.34, 60.84, 317.30°)
OKLaboklab(35.08% 0.102 -0.117)
OKLCHoklch(35.08% 0.155 311.1)
XYZxyz(7.0408, 3.6117, 16.8458)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541374 #337413
analogous
#241374 #541374 #741364
triadic
#541374 #745413 #137454
tetradic
#541374 #742413 #337413 #136474
square
#541374 #742413 #337413 #136474
split-complementary
#541374 #647413 #137424
monochromatic
#13041A #2E0A3F #541374 #7A1CA9 #A026DB

Accessibility & contrast

On white

12.19
#541374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#541374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541374
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541374#FFFFFF#000000##FFFFFF
##5413741.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003377
Deuteranopia (green-blind)
#003672
Tritanopia (blue-blind)
#502C44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #541374;
/* rgb */ color: rgb(84, 19, 116);
/* oklch */ color: oklch(35.1% 0.155 311.1);
Tailwind
colors: {
  custom: {
    50: '#885a9d',
    500: '#541374',
    950: '#000000',
  },
}
SCSS
$custom: #541374;
$custom-light: #885a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#541374",
  "rgb": {
    "r": 84,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 280.206,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35083,
    "c": 0.15519,
    "h": 311.1
  },
  "luminance": 0.03612
}

Semantic roles & 50–950 ramp

primary
#541374
secondary
#5EAA38
accent
#EF3975
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541374

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

Preview Lab → · Contrast checker → · Palette generator →

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