#541985#541985

#541985 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.166 H 303.8°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#541985
RGBrgb(84, 25, 133)
HSLhsl(273, 68%, 31%)
HSVhsv(273, 81%, 52%)
CMYKcmyk(36.8%, 81.2%, 0%, 47.8%)
CIE-LABlab(24.56, 46.45, -48.45)
CIE-LCHlch(24.56, 67.12, 313.79°)
OKLaboklab(37.08% 0.0924 -0.1382)
OKLCHoklch(37.08% 0.166 303.8)
XYZxyz(8.2364, 4.2735, 22.5767)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541985 #4A8519
analogous
#1E1985 #541985 #851980
triadic
#541985 #855419 #198554
tetradic
#541985 #851E19 #4A8519 #198085
square
#541985 #851E19 #4A8519 #198085
split-complementary
#541985 #808519 #19851E
monochromatic
#13061E #330F51 #541985 #7523B9 #933EDB

Accessibility & contrast

On white

11.32
#541985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#541985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541985
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541985#FFFFFF#000000##FFFFFF
##5419851.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003A83
Tritanopia (blue-blind)
#4A364F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #541985;
/* rgb */ color: rgb(84, 25, 133);
/* oklch */ color: oklch(37.1% 0.166 303.8);
Tailwind
colors: {
  custom: {
    50: '#895ea9',
    500: '#541985',
    950: '#000000',
  },
}
SCSS
$custom: #541985;
$custom-light: #895ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#541985",
  "rgb": {
    "r": 84,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 272.778,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37078,
    "c": 0.16622,
    "h": 303.8
  },
  "luminance": 0.04274
}

Semantic roles & 50–950 ramp

primary
#541985
secondary
#77B941
accent
#EB3D8C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #541985

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

Preview Lab → · Contrast checker → · Palette generator →

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