#541880#541880

#541880 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.162 H 305.7°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#541880
RGBrgb(84, 24, 128)
HSLhsl(275, 68%, 30%)
HSVhsv(275, 81%, 50%)
CMYKcmyk(34.4%, 81.3%, 0%, 49.8%)
CIE-LABlab(23.99, 45.64, -46.23)
CIE-LCHlch(23.99, 64.96, 314.63°)
OKLaboklab(36.55% 0.0946 -0.1316)
OKLCHoklch(36.55% 0.162 305.7)
XYZxyz(7.8782, 4.0967, 20.7936)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541880 #448018
analogous
#201880 #541880 #801878
triadic
#541880 #805418 #188054
tetradic
#541880 #802018 #448018 #187880
square
#541880 #802018 #448018 #187880
split-complementary
#541880 #788018 #188020
monochromatic
#11051A #320E4C #541880 #7622B4 #9639DA

Accessibility & contrast

On white

11.54
#541880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#541880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541880
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541880#FFFFFF#000000##FFFFFF
##5418801.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003783
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#4C334C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #541880;
/* rgb */ color: rgb(84, 24, 128);
/* oklch */ color: oklch(36.5% 0.162 305.7);
Tailwind
colors: {
  custom: {
    50: '#895da6',
    500: '#541880',
    950: '#000000',
  },
}
SCSS
$custom: #541880;
$custom-light: #895da6;
$custom-dark: #000000;
JSON
{
  "hex": "#541880",
  "rgb": {
    "r": 84,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 274.615,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36548,
    "c": 0.16212,
    "h": 305.7
  },
  "luminance": 0.04097
}

Semantic roles & 50–950 ramp

primary
#541880
secondary
#71B440
accent
#EB3D86
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #541880

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

Preview Lab → · Contrast checker → · Palette generator →

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