#542467#542467

#542467 is a dark, moderate purple. Relative luminance 0.041; OKLCH L 36.0% C 0.119 H 315.2°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#542467
RGBrgb(84, 36, 103)
HSLhsl(283, 48%, 27%)
HSVhsv(283, 65%, 40%)
CMYKcmyk(18.4%, 65%, 0%, 59.6%)
CIE-LABlab(24.08, 34.13, -30.05)
CIE-LCHlch(24.08, 45.47, 318.63°)
OKLaboklab(36.02% 0.0847 -0.0842)
OKLCHoklch(36.02% 0.119 315.2)
XYZxyz(6.7348, 4.1261, 13.2710)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#542467 #376724
analogous
#332467 #542467 #672459
triadic
#542467 #675424 #246754
tetradic
#542467 #673324 #376724 #245967
square
#542467 #673324 #376724 #245967
split-complementary
#542467 #596724 #246733
monochromatic
#120817 #2F143A #542467 #793494 #9D47BF

Accessibility & contrast

On white

11.51
#542467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#542467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #542467
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##542467#FFFFFF#000000##FFFFFF
##5424671.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3669
Deuteranopia (green-blind)
#233B65
Tritanopia (blue-blind)
#533042
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #542467;
/* rgb */ color: rgb(84, 36, 103);
/* oklch */ color: oklch(36.0% 0.119 315.2);
Tailwind
colors: {
  custom: {
    50: '#866293',
    500: '#542467',
    950: '#000000',
  },
}
SCSS
$custom: #542467;
$custom-light: #866293;
$custom-dark: #000000;
JSON
{
  "hex": "#542467",
  "rgb": {
    "r": 84,
    "g": 36,
    "b": 103
  },
  "hsl": {
    "h": 282.985,
    "s": 48.201,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3602,
    "c": 0.11947,
    "h": 315.2
  },
  "luminance": 0.04126
}

Semantic roles & 50–950 ramp

primary
#542467
secondary
#639A4C
accent
#D85077
background
#F8F5F9
surface
#F0EAF1
border
#CBC6CB
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #542467

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

Preview Lab → · Contrast checker → · Palette generator →

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