#541375#541375

#541375 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.2% C 0.156 H 310.6°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#541375
RGBrgb(84, 19, 117)
HSLhsl(280, 72%, 27%)
HSVhsv(280, 84%, 46%)
CMYKcmyk(28.2%, 83.8%, 0%, 54.1%)
CIE-LABlab(22.43, 44.94, -41.77)
CIE-LCHlch(22.43, 61.35, 317.10°)
OKLaboklab(35.17% 0.1017 -0.1185)
OKLCHoklch(35.17% 0.156 310.6)
XYZxyz(7.0993, 3.6351, 17.1538)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541375 #347513
analogous
#231375 #541375 #751365
triadic
#541375 #755413 #137554
tetradic
#541375 #752313 #347513 #136575
square
#541375 #752313 #347513 #136575
split-complementary
#541375 #657513 #137523
monochromatic
#13041A #2E0A40 #541375 #7A1CAA #9F27DC

Accessibility & contrast

On white

12.16
#541375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #541375
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541375#FFFFFF#000000##FFFFFF
##5413751.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #541375;
/* rgb */ color: rgb(84, 19, 117);
/* oklch */ color: oklch(35.2% 0.156 310.6);
Tailwind
colors: {
  custom: {
    50: '#885a9d',
    500: '#541375',
    950: '#000000',
  },
}
SCSS
$custom: #541375;
$custom-light: #885a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#541375",
  "rgb": {
    "r": 84,
    "g": 19,
    "b": 117
  },
  "hsl": {
    "h": 279.796,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35166,
    "c": 0.15616,
    "h": 310.6
  },
  "luminance": 0.03635
}

Semantic roles & 50–950 ramp

primary
#541375
secondary
#5FAB38
accent
#EF3976
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541375

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

Preview Lab → · Contrast checker → · Palette generator →

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