#541690#541690

#541690 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.180 H 300.4°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#541690
RGBrgb(84, 22, 144)
HSLhsl(270, 73%, 33%)
HSVhsv(270, 85%, 56%)
CMYKcmyk(41.7%, 84.7%, 0%, 43.5%)
CIE-LABlab(25.17, 50.21, -54.30)
CIE-LCHlch(25.17, 73.96, 312.76°)
OKLaboklab(37.82% 0.0912 -0.1553)
OKLCHoklch(37.82% 0.18 300.4)
XYZxyz(8.9758, 4.4722, 26.7705)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541690 #529016
analogous
#171690 #541690 #90168F
triadic
#541690 #905416 #169054
tetradic
#541690 #901716 #529016 #168F90
square
#541690 #901716 #529016 #168F90
split-complementary
#541690 #8F9016 #169017
monochromatic
#160626 #350E5B #541690 #731EC5 #923FE2

Accessibility & contrast

On white

11.09
#541690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#541690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541690
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541690#FFFFFF#000000##FFFFFF
##5416901.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#463A55
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #541690;
/* rgb */ color: rgb(84, 22, 144);
/* oklch */ color: oklch(37.8% 0.180 300.4);
Tailwind
colors: {
  custom: {
    50: '#8b5db2',
    500: '#541690',
    950: '#000000',
  },
}
SCSS
$custom: #541690;
$custom-light: #8b5db2;
$custom-dark: #000000;
JSON
{
  "hex": "#541690",
  "rgb": {
    "r": 84,
    "g": 22,
    "b": 144
  },
  "hsl": {
    "h": 270.492,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37815,
    "c": 0.18011,
    "h": 300.4
  },
  "luminance": 0.04472
}

Semantic roles & 50–950 ramp

primary
#541690
secondary
#80C240
accent
#F03892
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0D0511
muted
#7D7980

Preview Lab

Preview with #541690

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

Preview Lab → · Contrast checker → · Palette generator →

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