#541075#541075

#541075 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.9% C 0.159 H 310.9°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#541075
RGBrgb(84, 16, 117)
HSLhsl(280, 76%, 26%)
HSVhsv(280, 86%, 46%)
CMYKcmyk(28.2%, 86.3%, 0%, 54.1%)
CIE-LABlab(22.09, 45.93, -42.32)
CIE-LCHlch(22.09, 62.45, 317.34°)
OKLaboklab(34.93% 0.104 -0.1201)
OKLCHoklch(34.93% 0.159 310.9)
XYZxyz(7.0517, 3.5399, 17.1380)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541075 #317510
analogous
#211075 #541075 #751063
triadic
#541075 #755410 #107554
tetradic
#541075 #752110 #317510 #106375
square
#541075 #752110 #317510 #106375
split-complementary
#541075 #637510 #107521
monochromatic
#13041B #2D093F #541075 #7B17AB #A11FE0

Accessibility & contrast

On white

12.30
#541075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541075
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541075#FFFFFF#000000##FFFFFF
##5410751.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.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: #541075;
/* rgb */ color: rgb(84, 16, 117);
/* oklch */ color: oklch(34.9% 0.159 310.9);
Tailwind
colors: {
  custom: {
    50: '#89599d',
    500: '#541075',
    950: '#000000',
  },
}
SCSS
$custom: #541075;
$custom-light: #89599d;
$custom-dark: #000000;
JSON
{
  "hex": "#541075",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 117
  },
  "hsl": {
    "h": 280.396,
    "s": 75.94,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3493,
    "c": 0.15889,
    "h": 310.9
  },
  "luminance": 0.0354
}

Semantic roles & 50–950 ramp

primary
#541075
secondary
#5CAC35
accent
#F33573
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541075

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

Preview Lab → · Contrast checker → · Palette generator →

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