#541175#541175

#541175 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.0% C 0.158 H 310.8°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#541175
RGBrgb(84, 17, 117)
HSLhsl(280, 75%, 26%)
HSVhsv(280, 85%, 46%)
CMYKcmyk(28.2%, 85.5%, 0%, 54.1%)
CIE-LABlab(22.20, 45.61, -42.14)
CIE-LCHlch(22.20, 62.10, 317.26°)
OKLaboklab(35.01% 0.1033 -0.1196)
OKLCHoklch(35.01% 0.158 310.8)
XYZxyz(7.0669, 3.5702, 17.1430)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541175 #327511
analogous
#221175 #541175 #751164
triadic
#541175 #755411 #117554
tetradic
#541175 #752211 #327511 #116475
square
#541175 #752211 #327511 #116475
split-complementary
#541175 #647511 #117522
monochromatic
#13041B #2E0940 #541175 #7A19AA #A022DF

Accessibility & contrast

On white

12.25
#541175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#541175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541175
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541175#FFFFFF#000000##FFFFFF
##5411751.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#003673
Tritanopia (blue-blind)
#4F2B44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #541175;
/* rgb */ color: rgb(84, 17, 117);
/* oklch */ color: oklch(35.0% 0.158 310.8);
Tailwind
colors: {
  custom: {
    50: '#88599d',
    500: '#541175',
    950: '#000000',
  },
}
SCSS
$custom: #541175;
$custom-light: #88599d;
$custom-dark: #000000;
JSON
{
  "hex": "#541175",
  "rgb": {
    "r": 84,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 280.2,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35006,
    "c": 0.15801,
    "h": 310.8
  },
  "luminance": 0.0357
}

Semantic roles & 50–950 ramp

primary
#541175
secondary
#5DAC36
accent
#F13774
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541175

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

Preview Lab → · Contrast checker → · Palette generator →

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