#541674#541674

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

Color values

HEX#541674
RGBrgb(84, 22, 116)
HSLhsl(280, 68%, 27%)
HSVhsv(280, 81%, 45%)
CMYKcmyk(27.6%, 81%, 0%, 54.5%)
CIE-LABlab(22.72, 43.62, -40.64)
CIE-LCHlch(22.72, 59.62, 317.02°)
OKLaboklab(35.35% 0.0993 -0.1152)
OKLCHoklch(35.35% 0.152 310.8)
XYZxyz(7.0948, 3.7198, 16.8639)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541674 #367416
analogous
#251674 #541674 #741665
triadic
#541674 #745416 #167454
tetradic
#541674 #742516 #367416 #166574
square
#541674 #742516 #367416 #166574
split-complementary
#541674 #657416 #167425
monochromatic
#13051A #2F0C41 #541674 #7920A7 #9D2DD7

Accessibility & contrast

On white

12.04
#541674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#541674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541674
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541674#FFFFFF#000000##FFFFFF
##5416741.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003477
Deuteranopia (green-blind)
#003772
Tritanopia (blue-blind)
#502D45
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #541674;
/* rgb */ color: rgb(84, 22, 116);
/* oklch */ color: oklch(35.3% 0.152 310.8);
Tailwind
colors: {
  custom: {
    50: '#885b9d',
    500: '#541674',
    950: '#000000',
  },
}
SCSS
$custom: #541674;
$custom-light: #885b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#541674",
  "rgb": {
    "r": 84,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 279.574,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35348,
    "c": 0.15214,
    "h": 310.8
  },
  "luminance": 0.0372
}

Semantic roles & 50–950 ramp

primary
#541674
secondary
#61AA3C
accent
#EB3D78
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #541674

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

Preview Lab → · Contrast checker → · Palette generator →

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