#541CA0#541CA0

#541CA0 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.191 H 295.2°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#541CA0
RGBrgb(84, 28, 160)
HSLhsl(265, 70%, 37%)
HSVhsv(265, 83%, 63%)
CMYKcmyk(47.5%, 82.5%, 0%, 37.3%)
CIE-LABlab(27.44, 52.00, -60.40)
CIE-LCHlch(27.44, 79.71, 310.73°)
OKLaboklab(39.85% 0.0815 -0.1733)
OKLCHoklch(39.85% 0.191 295.2)
XYZxyz(10.4148, 5.2531, 33.7161)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541CA0 #68A01C
analogous
#1C26A0 #541CA0 #961CA0
triadic
#541CA0 #A0541C #1CA054
tetradic
#541CA0 #A01C26 #68A01C #1CA096
square
#541CA0 #A01C26 #68A01C #1CA096
split-complementary
#541CA0 #A0961C #26A01C
monochromatic
#1D0A38 #39136C #541CA0 #6F25D4 #9155E1

Accessibility & contrast

On white

10.24
#541CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#541CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541CA0
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541CA0#FFFFFF#000000##FFFFFF
##541CA01.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A4
Deuteranopia (green-blind)
#003F9E
Tritanopia (blue-blind)
#3E435F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #541ca0;
/* rgb */ color: rgb(84, 28, 160);
/* oklch */ color: oklch(39.8% 0.191 295.2);
Tailwind
colors: {
  custom: {
    50: '#8c61bd',
    500: '#541ca0',
    950: '#000000',
  },
}
SCSS
$custom: #541ca0;
$custom-light: #8c61bd;
$custom-dark: #000000;
JSON
{
  "hex": "#541ca0",
  "rgb": {
    "r": 84,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 265.455,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39846,
    "c": 0.19147,
    "h": 295.2
  },
  "luminance": 0.05253
}

Semantic roles & 50–950 ramp

primary
#541CA0
secondary
#94C453
accent
#ED3BA1
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0512
muted
#7E7A81

Preview Lab

Preview with #541CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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