#541390#541390

#541390 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.6% C 0.182 H 300.7°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#541390
RGBrgb(84, 19, 144)
HSLhsl(271, 77%, 32%)
HSVhsv(271, 87%, 56%)
CMYKcmyk(41.7%, 86.8%, 0%, 43.5%)
CIE-LABlab(24.84, 51.20, -54.85)
CIE-LCHlch(24.84, 75.03, 313.03°)
OKLaboklab(37.58% 0.0931 -0.1569)
OKLCHoklch(37.58% 0.182 300.7)
XYZxyz(8.9218, 4.3641, 26.7525)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541390 #4F9013
analogous
#161390 #541390 #90138E
triadic
#541390 #905413 #139054
tetradic
#541390 #901613 #4F9013 #138E90
square
#541390 #901613 #4F9013 #138E90
split-complementary
#541390 #8E9013 #139016
monochromatic
#150524 #340C5A #541390 #741AC6 #9239E5

Accessibility & contrast

On white

11.21
#541390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#541390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541390
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541390#FFFFFF#000000##FFFFFF
##5413901.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#003A8E
Tritanopia (blue-blind)
#463954
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #541390;
/* rgb */ color: rgb(84, 19, 144);
/* oklch */ color: oklch(37.6% 0.182 300.7);
Tailwind
colors: {
  custom: {
    50: '#8b5cb2',
    500: '#541390',
    950: '#000000',
  },
}
SCSS
$custom: #541390;
$custom-light: #8b5cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#541390",
  "rgb": {
    "r": 84,
    "g": 19,
    "b": 144
  },
  "hsl": {
    "h": 271.2,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37584,
    "c": 0.18246,
    "h": 300.7
  },
  "luminance": 0.04364
}

Semantic roles & 50–950 ramp

primary
#541390
secondary
#7DC43B
accent
#F33590
background
#F9F5FB
surface
#F1E9F6
border
#CBC5D0
text
#0D0411
muted
#7E7980

Preview Lab

Preview with #541390

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

Preview Lab → · Contrast checker → · Palette generator →

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