#541490#541490

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

Color values

HEX#541490
RGBrgb(84, 20, 144)
HSLhsl(271, 76%, 32%)
HSVhsv(271, 86%, 56%)
CMYKcmyk(41.7%, 86.1%, 0%, 43.5%)
CIE-LABlab(24.95, 50.88, -54.67)
CIE-LCHlch(24.95, 74.69, 312.94°)
OKLaboklab(37.66% 0.0925 -0.1564)
OKLCHoklch(37.66% 0.182 300.6)
XYZxyz(8.9391, 4.3987, 26.7582)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541490 #509014
analogous
#161490 #541490 #90148E
triadic
#541490 #905414 #149054
tetradic
#541490 #901614 #509014 #148E90
square
#541490 #901614 #509014 #148E90
split-complementary
#541490 #8E9014 #149016
monochromatic
#150525 #350D5A #541490 #731BC6 #923BE4

Accessibility & contrast

On white

11.17
#541490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#541490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541490
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541490#FFFFFF#000000##FFFFFF
##5414901.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #541490;
/* rgb */ color: rgb(84, 20, 144);
/* oklch */ color: oklch(37.7% 0.182 300.6);
Tailwind
colors: {
  custom: {
    50: '#8b5cb2',
    500: '#541490',
    950: '#000000',
  },
}
SCSS
$custom: #541490;
$custom-light: #8b5cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#541490",
  "rgb": {
    "r": 84,
    "g": 20,
    "b": 144
  },
  "hsl": {
    "h": 270.968,
    "s": 75.61,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37658,
    "c": 0.1817,
    "h": 300.6
  },
  "luminance": 0.04399
}

Semantic roles & 50–950 ramp

primary
#541490
secondary
#7EC33D
accent
#F23691
background
#F9F5FB
surface
#F1E9F6
border
#CBC5D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #541490

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

Preview Lab → · Contrast checker → · Palette generator →

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