#541675#541675

#541675 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.153 H 310.3°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#541675
RGBrgb(84, 22, 117)
HSLhsl(279, 68%, 27%)
HSVhsv(279, 81%, 46%)
CMYKcmyk(28.2%, 81.2%, 0%, 54.1%)
CIE-LABlab(22.80, 43.85, -41.15)
CIE-LCHlch(22.80, 60.13, 316.81°)
OKLaboklab(35.43% 0.0991 -0.1167)
OKLCHoklch(35.43% 0.153 310.3)
XYZxyz(7.1533, 3.7432, 17.1718)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541675 #377516
analogous
#251675 #541675 #751667
triadic
#541675 #755416 #167554
tetradic
#541675 #752516 #377516 #166775
square
#541675 #752516 #377516 #166775
split-complementary
#541675 #677516 #167525
monochromatic
#12051A #2F0C41 #541675 #7920A9 #9D2ED8

Accessibility & contrast

On white

12.01
#541675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#541675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541675
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541675#FFFFFF#000000##FFFFFF
##5416751.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #541675;
/* rgb */ color: rgb(84, 22, 117);
/* oklch */ color: oklch(35.4% 0.153 310.3);
Tailwind
colors: {
  custom: {
    50: '#885b9d',
    500: '#541675',
    950: '#000000',
  },
}
SCSS
$custom: #541675;
$custom-light: #885b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#541675",
  "rgb": {
    "r": 84,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 279.158,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35431,
    "c": 0.15313,
    "h": 310.3
  },
  "luminance": 0.03743
}

Semantic roles & 50–950 ramp

primary
#541675
secondary
#63AB3C
accent
#EB3D79
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541675

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

Preview Lab → · Contrast checker → · Palette generator →

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