#541475#541475

#541475 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.155 H 310.5°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#541475
RGBrgb(84, 20, 117)
HSLhsl(280, 71%, 27%)
HSVhsv(280, 83%, 46%)
CMYKcmyk(28.2%, 82.9%, 0%, 54.1%)
CIE-LABlab(22.55, 44.59, -41.57)
CIE-LCHlch(22.55, 60.96, 317.01°)
OKLaboklab(35.25% 0.1009 -0.1179)
OKLCHoklch(35.25% 0.155 310.5)
XYZxyz(7.1166, 3.6697, 17.1596)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541475 #357514
analogous
#241475 #541475 #751466
triadic
#541475 #755414 #147554
tetradic
#541475 #752414 #357514 #146675
square
#541475 #752414 #357514 #146675
split-complementary
#541475 #667514 #147524
monochromatic
#13041A #2E0B41 #541475 #7A1DA9 #9E29DA

Accessibility & contrast

On white

12.11
#541475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#541475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541475
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541475#FFFFFF#000000##FFFFFF
##5414751.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#003773
Tritanopia (blue-blind)
#4F2D45
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #541475;
/* rgb */ color: rgb(84, 20, 117);
/* oklch */ color: oklch(35.3% 0.155 310.5);
Tailwind
colors: {
  custom: {
    50: '#885b9d',
    500: '#541475',
    950: '#000000',
  },
}
SCSS
$custom: #541475;
$custom-light: #885b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#541475",
  "rgb": {
    "r": 84,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 279.588,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35251,
    "c": 0.15518,
    "h": 310.5
  },
  "luminance": 0.03669
}

Semantic roles & 50–950 ramp

primary
#541475
secondary
#60AB3A
accent
#EE3A77
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541475

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

Preview Lab → · Contrast checker → · Palette generator →

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