#6D1564#6D1564

#6D1564 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.1% C 0.150 H 332.8°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#6D1564
RGBrgb(109, 21, 100)
HSLhsl(306, 68%, 25%)
HSVhsv(306, 81%, 43%)
CMYKcmyk(0%, 80.7%, 8.3%, 57.3%)
CIE-LABlab(25.89, 46.29, -24.97)
CIE-LCHlch(25.89, 52.60, 331.65°)
OKLaboklab(38.1% 0.1335 -0.0686)
OKLCHoklch(38.1% 0.15 332.8)
XYZxyz(8.8751, 4.7084, 12.4955)
Luminance0.0471 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1564 #156D1E
analogous
#4A156D #6D1564 #6D1538
triadic
#6D1564 #646D15 #15646D
tetradic
#6D1564 #6D4A15 #156D1E #15386D
square
#6D1564 #6D4A15 #156D1E #15386D
split-complementary
#6D1564 #386D15 #156D4A
monochromatic
#1A0518 #3A0B35 #6D1564 #A01F93 #D429C2

Accessibility & contrast

On white

10.82
#6D1564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#6D1564 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1564
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1564#FFFFFF#000000##FFFFFF
##6D15641.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103566
Deuteranopia (green-blind)
#334262
Tritanopia (blue-blind)
#721F3C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6d1564;
/* rgb */ color: rgb(109, 21, 100);
/* oklch */ color: oklch(38.1% 0.150 332.8);
Tailwind
colors: {
  custom: {
    50: '#9a5e90',
    500: '#6d1564',
    950: '#000000',
  },
}
SCSS
$custom: #6d1564;
$custom-light: #9a5e90;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1564",
  "rgb": {
    "r": 109,
    "g": 21,
    "b": 100
  },
  "hsl": {
    "h": 306.136,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.38102,
    "c": 0.15008,
    "h": 332.8
  },
  "luminance": 0.04708
}

Semantic roles & 50–950 ramp

primary
#6D1564
secondary
#3AA345
accent
#EB4F3D
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6D1564

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

Preview Lab → · Contrast checker → · Palette generator →

#6D1564 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva