#541F90#541F90

#541F90 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.172 H 299.4°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#541F90
RGBrgb(84, 31, 144)
HSLhsl(268, 65%, 34%)
HSVhsv(268, 78%, 56%)
CMYKcmyk(41.7%, 78.5%, 0%, 43.5%)
CIE-LABlab(26.39, 46.70, -52.32)
CIE-LCHlch(26.39, 70.13, 311.75°)
OKLaboklab(38.66% 0.0841 -0.1496)
OKLCHoklch(38.66% 0.172 299.4)
XYZxyz(9.1789, 4.8783, 26.8382)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541F90 #5B901F
analogous
#1F2290 #541F90 #8D1F90
triadic
#541F90 #90541F #1F9054
tetradic
#541F90 #901F22 #5B901F #1F908D
square
#541F90 #901F22 #5B901F #1F908D
split-complementary
#541F90 #908D1F #22901F
monochromatic
#19092B #37145E #541F90 #712AC2 #9050D9

Accessibility & contrast

On white

10.63
#541F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#541F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541F90
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541F90#FFFFFF#000000##FFFFFF
##541F901.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #541f90;
/* rgb */ color: rgb(84, 31, 144);
/* oklch */ color: oklch(38.7% 0.172 299.4);
Tailwind
colors: {
  custom: {
    50: '#8a61b1',
    500: '#541f90',
    950: '#000000',
  },
}
SCSS
$custom: #541f90;
$custom-light: #8a61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#541f90",
  "rgb": {
    "r": 84,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 268.142,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38656,
    "c": 0.17164,
    "h": 299.4
  },
  "luminance": 0.04878
}

Semantic roles & 50–950 ramp

primary
#541F90
secondary
#89BC4E
accent
#E84099
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #541F90

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

Preview Lab → · Contrast checker → · Palette generator →

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