#541267#541267

#541267 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 34.0% C 0.144 H 317.2°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#541267
RGBrgb(84, 18, 103)
HSLhsl(287, 70%, 24%)
HSVhsv(287, 83%, 40%)
CMYKcmyk(18.4%, 82.5%, 0%, 59.6%)
CIE-LABlab(21.20, 42.24, -34.69)
CIE-LCHlch(21.20, 54.66, 320.61°)
OKLaboklab(33.95% 0.1056 -0.0977)
OKLCHoklch(33.95% 0.144 317.2)
XYZxyz(6.3203, 3.2970, 13.1328)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541267 #256712
analogous
#291267 #541267 #67124F
triadic
#541267 #675412 #126754
tetradic
#541267 #672912 #256712 #124F67
square
#541267 #672912 #256712 #124F67
split-complementary
#541267 #4F6712 #126729
monochromatic
#15051A #2A0933 #541267 #7E1B9B #A924CF

Accessibility & contrast

On white

12.66
#541267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#541267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541267
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541267#FFFFFF#000000##FFFFFF
##5412671.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F69
Deuteranopia (green-blind)
#143565
Tritanopia (blue-blind)
#53253C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #541267;
/* rgb */ color: rgb(84, 18, 103);
/* oklch */ color: oklch(34.0% 0.144 317.2);
Tailwind
colors: {
  custom: {
    50: '#875993',
    500: '#541267',
    950: '#000000',
  },
}
SCSS
$custom: #541267;
$custom-light: #875993;
$custom-dark: #000000;
JSON
{
  "hex": "#541267",
  "rgb": {
    "r": 84,
    "g": 18,
    "b": 103
  },
  "hsl": {
    "h": 286.588,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33953,
    "c": 0.14383,
    "h": 317.2
  },
  "luminance": 0.03297
}

Semantic roles & 50–950 ramp

primary
#541267
secondary
#4D9F36
accent
#ED3B63
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #541267

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

Preview Lab → · Contrast checker → · Palette generator →

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