#541E90#541E90

#541E90 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.6% C 0.173 H 299.5°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#541E90
RGBrgb(84, 30, 144)
HSLhsl(268, 66%, 34%)
HSVhsv(268, 79%, 56%)
CMYKcmyk(41.7%, 79.2%, 0%, 43.5%)
CIE-LABlab(26.24, 47.13, -52.57)
CIE-LCHlch(26.24, 70.60, 311.88°)
OKLaboklab(38.55% 0.085 -0.1503)
OKLCHoklch(38.55% 0.173 299.5)
XYZxyz(9.1532, 4.8269, 26.8296)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541E90 #5A901E
analogous
#1E2190 #541E90 #8D1E90
triadic
#541E90 #90541E #1E9054
tetradic
#541E90 #901E21 #5A901E #1E908D
square
#541E90 #901E21 #5A901E #1E908D
split-complementary
#541E90 #908D1E #21901E
monochromatic
#19092B #36135D #541E90 #7229C3 #914EDA

Accessibility & contrast

On white

10.68
#541E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#541E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541E90
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541E90#FFFFFF#000000##FFFFFF
##541E901.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#463D56
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #541e90;
/* rgb */ color: rgb(84, 30, 144);
/* oklch */ color: oklch(38.6% 0.173 299.5);
Tailwind
colors: {
  custom: {
    50: '#8a61b1',
    500: '#541e90',
    950: '#000000',
  },
}
SCSS
$custom: #541e90;
$custom-light: #8a61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#541e90",
  "rgb": {
    "r": 84,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 268.421,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38552,
    "c": 0.17268,
    "h": 299.5
  },
  "luminance": 0.04827
}

Semantic roles & 50–950 ramp

primary
#541E90
secondary
#88BD4D
accent
#E83F98
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #541E90

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

Preview Lab → · Contrast checker → · Palette generator →

#541E90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva