#541F94#541F94

#541F94 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.176 H 298.1°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#541F94
RGBrgb(84, 31, 148)
HSLhsl(267, 65%, 35%)
HSVhsv(267, 79%, 58%)
CMYKcmyk(43.2%, 79.1%, 0%, 42%)
CIE-LABlab(26.74, 47.73, -54.21)
CIE-LCHlch(26.74, 72.22, 311.36°)
OKLaboklab(39.02% 0.083 -0.1551)
OKLCHoklch(39.02% 0.176 298.1)
XYZxyz(9.4901, 5.0027, 28.4769)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541F94 #5F941F
analogous
#1F2594 #541F94 #8E1F94
triadic
#541F94 #94541F #1F9454
tetradic
#541F94 #941F25 #5F941F #1F948E
square
#541F94 #941F25 #5F941F #1F948E
split-complementary
#541F94 #948E1F #25941F
monochromatic
#1B0A2F #371461 #541F94 #712AC7 #9053DB

Accessibility & contrast

On white

10.50
#541F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#541F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541F94
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541F94#FFFFFF#000000##FFFFFF
##541F941.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003E92
Tritanopia (blue-blind)
#443F59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #541f94;
/* rgb */ color: rgb(84, 31, 148);
/* oklch */ color: oklch(39.0% 0.176 298.1);
Tailwind
colors: {
  custom: {
    50: '#8b61b4',
    500: '#541f94',
    950: '#000000',
  },
}
SCSS
$custom: #541f94;
$custom-light: #8b61b4;
$custom-dark: #000000;
JSON
{
  "hex": "#541f94",
  "rgb": {
    "r": 84,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 267.179,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39016,
    "c": 0.17595,
    "h": 298.1
  },
  "luminance": 0.05003
}

Semantic roles & 50–950 ramp

primary
#541F94
secondary
#8DBE51
accent
#E83F9C
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0511
muted
#7D7A80

Preview Lab

Preview with #541F94

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

Preview Lab → · Contrast checker → · Palette generator →

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