#541975#541975

#541975 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.150 H 310.0°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#541975
RGBrgb(84, 25, 117)
HSLhsl(278, 65%, 28%)
HSVhsv(278, 79%, 46%)
CMYKcmyk(28.2%, 78.6%, 0%, 54.1%)
CIE-LABlab(23.22, 42.65, -40.48)
CIE-LCHlch(23.22, 58.80, 316.50°)
OKLaboklab(35.72% 0.0963 -0.1148)
OKLCHoklch(35.72% 0.15 310)
XYZxyz(7.2140, 3.8646, 17.1921)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541975 #3A7519
analogous
#261975 #541975 #751968
triadic
#541975 #755419 #197554
tetradic
#541975 #752619 #3A7519 #196875
square
#541975 #752619 #3A7519 #196875
split-complementary
#541975 #687519 #197526
monochromatic
#120519 #300E43 #541975 #7824A7 #9B35D4

Accessibility & contrast

On white

11.85
#541975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#541975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541975
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541975#FFFFFF#000000##FFFFFF
##5419751.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003578
Deuteranopia (green-blind)
#013873
Tritanopia (blue-blind)
#4F2F46
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #541975;
/* rgb */ color: rgb(84, 25, 117);
/* oklch */ color: oklch(35.7% 0.150 310.0);
Tailwind
colors: {
  custom: {
    50: '#885d9d',
    500: '#541975',
    950: '#000000',
  },
}
SCSS
$custom: #541975;
$custom-light: #885d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#541975",
  "rgb": {
    "r": 84,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 278.478,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.35723,
    "c": 0.14981,
    "h": 310
  },
  "luminance": 0.03864
}

Semantic roles & 50–950 ramp

primary
#541975
secondary
#66AA40
accent
#E8407C
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541975

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

Preview Lab → · Contrast checker → · Palette generator →

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