#541068#541068

#541068 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.9% C 0.147 H 316.9°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#541068
RGBrgb(84, 16, 104)
HSLhsl(286, 73%, 24%)
HSVhsv(286, 85%, 41%)
CMYKcmyk(19.2%, 84.6%, 0%, 59.2%)
CIE-LABlab(21.04, 43.13, -35.59)
CIE-LCHlch(21.04, 55.92, 320.47°)
OKLaboklab(33.87% 0.1071 -0.1003)
OKLCHoklch(33.87% 0.147 316.9)
XYZxyz(6.3398, 3.2552, 13.3884)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541068 #246810
analogous
#281068 #541068 #681050
triadic
#541068 #685410 #106854
tetradic
#541068 #682810 #246810 #105068
square
#541068 #682810 #246810 #105068
split-complementary
#541068 #506810 #106828
monochromatic
#15041B #290833 #541068 #7F189D #AA20D2

Accessibility & contrast

On white

12.72
#541068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#541068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541068
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541068#FFFFFF#000000##FFFFFF
##5410681.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6A
Deuteranopia (green-blind)
#113466
Tritanopia (blue-blind)
#53253D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #541068;
/* rgb */ color: rgb(84, 16, 104);
/* oklch */ color: oklch(33.9% 0.147 316.9);
Tailwind
colors: {
  custom: {
    50: '#885894',
    500: '#541068',
    950: '#000000',
  },
}
SCSS
$custom: #541068;
$custom-light: #885894;
$custom-dark: #000000;
JSON
{
  "hex": "#541068",
  "rgb": {
    "r": 84,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 286.364,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33866,
    "c": 0.14677,
    "h": 316.9
  },
  "luminance": 0.03255
}

Semantic roles & 50–950 ramp

primary
#541068
secondary
#4CA034
accent
#F03862
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #541068

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

Preview Lab → · Contrast checker → · Palette generator →

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