#541775#541775

#541775 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.152 H 310.2°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#541775
RGBrgb(84, 23, 117)
HSLhsl(279, 67%, 27%)
HSVhsv(279, 80%, 46%)
CMYKcmyk(28.2%, 80.3%, 0%, 54.1%)
CIE-LABlab(22.94, 43.46, -40.94)
CIE-LCHlch(22.94, 59.70, 316.71°)
OKLaboklab(35.53% 0.0982 -0.1161)
OKLCHoklch(35.53% 0.152 310.2)
XYZxyz(7.1728, 3.7821, 17.1783)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541775 #387517
analogous
#251775 #541775 #751767
triadic
#541775 #755417 #177554
tetradic
#541775 #752517 #387517 #176775
square
#541775 #752517 #387517 #176775
split-complementary
#541775 #677517 #177525
monochromatic
#12051A #2F0D42 #541775 #7921A8 #9C30D6

Accessibility & contrast

On white

11.96
#541775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#541775 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541775
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541775#FFFFFF#000000##FFFFFF
##5417751.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#003873
Tritanopia (blue-blind)
#4F2E46
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #541775;
/* rgb */ color: rgb(84, 23, 117);
/* oklch */ color: oklch(35.5% 0.152 310.2);
Tailwind
colors: {
  custom: {
    50: '#885c9d',
    500: '#541775',
    950: '#000000',
  },
}
SCSS
$custom: #541775;
$custom-light: #885c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#541775",
  "rgb": {
    "r": 84,
    "g": 23,
    "b": 117
  },
  "hsl": {
    "h": 278.936,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35525,
    "c": 0.15206,
    "h": 310.2
  },
  "luminance": 0.03782
}

Semantic roles & 50–950 ramp

primary
#541775
secondary
#64AA3D
accent
#EA3E7A
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541775

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

Preview Lab → · Contrast checker → · Palette generator →

#541775 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva