#541B65#541B65

#541B65 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.7% C 0.131 H 317.4°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#541B65
RGBrgb(84, 27, 101)
HSLhsl(286, 58%, 25%)
HSVhsv(286, 73%, 40%)
CMYKcmyk(16.8%, 73.3%, 0%, 60.4%)
CIE-LABlab(22.33, 38.15, -31.55)
CIE-LCHlch(22.33, 49.51, 320.41°)
OKLaboklab(34.72% 0.0964 -0.0886)
OKLCHoklch(34.72% 0.131 317.4)
XYZxyz(6.3967, 3.6085, 12.6690)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#541B65 #2C651B
analogous
#2F1B65 #541B65 #651B51
triadic
#541B65 #65541B #1B6554
tetradic
#541B65 #652F1B #2C651B #1B5165
square
#541B65 #652F1B #2C651B #1B5165
split-complementary
#541B65 #51651B #1B652F
monochromatic
#140618 #2C0E35 #541B65 #7C2895 #A435C6

Accessibility & contrast

On white

12.20
#541B65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#541B65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #541B65
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##541B65#FFFFFF#000000##FFFFFF
##541B651.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003267
Deuteranopia (green-blind)
#1D3763
Tritanopia (blue-blind)
#53293E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #541b65;
/* rgb */ color: rgb(84, 27, 101);
/* oklch */ color: oklch(34.7% 0.131 317.4);
Tailwind
colors: {
  custom: {
    50: '#875d91',
    500: '#541b65',
    950: '#000000',
  },
}
SCSS
$custom: #541b65;
$custom-light: #875d91;
$custom-dark: #000000;
JSON
{
  "hex": "#541b65",
  "rgb": {
    "r": 84,
    "g": 27,
    "b": 101
  },
  "hsl": {
    "h": 286.216,
    "s": 57.813,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34715,
    "c": 0.13087,
    "h": 317.4
  },
  "luminance": 0.03608
}

Semantic roles & 50–950 ramp

primary
#541B65
secondary
#569A41
accent
#E1476A
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #541B65

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

Preview Lab → · Contrast checker → · Palette generator →

#541B65 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva