#541FB0#541FB0

#541FB0 is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.7% C 0.206 H 291.0°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#541FB0
RGBrgb(84, 31, 176)
HSLhsl(262, 70%, 41%)
HSVhsv(262, 82%, 69%)
CMYKcmyk(52.3%, 82.4%, 0%, 31%)
CIE-LABlab(29.41, 54.96, -66.82)
CIE-LCHlch(29.41, 86.52, 309.44°)
OKLaboklab(41.68% 0.0739 -0.1921)
OKLCHoklch(41.68% 0.206 291)
XYZxyz(11.9804, 5.9989, 41.5925)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541FB0 #7BB01F
analogous
#1F33B0 #541FB0 #9C1FB0
triadic
#541FB0 #B0541F #1FB054
tetradic
#541FB0 #B01F33 #7BB01F #1FB09C
square
#541FB0 #B01F33 #7BB01F #1FB09C
split-complementary
#541FB0 #B09C1F #33B01F
monochromatic
#220D48 #3B167C #541FB0 #6F31DB #9465E4

Accessibility & contrast

On white

9.55
#541FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#541FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541FB0
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541FB0#FFFFFF#000000##FFFFFF
##541FB01.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B4
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#334B69
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #541fb0;
/* rgb */ color: rgb(84, 31, 176);
/* oklch */ color: oklch(41.7% 0.206 291.0);
Tailwind
colors: {
  custom: {
    50: '#8f63c9',
    500: '#541fb0',
    950: '#000000',
  },
}
SCSS
$custom: #541fb0;
$custom-light: #8f63c9;
$custom-dark: #000000;
JSON
{
  "hex": "#541fb0",
  "rgb": {
    "r": 84,
    "g": 31,
    "b": 176
  },
  "hsl": {
    "h": 261.931,
    "s": 70.048,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41676,
    "c": 0.20581,
    "h": 291
  },
  "luminance": 0.05999
}

Semantic roles & 50–950 ramp

primary
#541FB0
secondary
#A3C962
accent
#ED3BAC
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #541FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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