#6D1C87#6D1C87

#6D1C87 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.173 H 316.2°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#6D1C87
RGBrgb(109, 28, 135)
HSLhsl(285, 66%, 32%)
HSVhsv(285, 79%, 53%)
CMYKcmyk(19.3%, 79.3%, 0%, 47.1%)
CIE-LABlab(28.98, 50.46, -42.34)
CIE-LCHlch(28.98, 65.87, 320.00°)
OKLaboklab(41.03% 0.1246 -0.1193)
OKLCHoklch(41.03% 0.173 316.2)
XYZxyz(11.0944, 5.8314, 23.4581)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1C87 #36871C
analogous
#381C87 #6D1C87 #871C6B
triadic
#6D1C87 #876D1C #1C876D
tetradic
#6D1C87 #87381C #36871C #1C6B87
square
#6D1C87 #87381C #36871C #1C6B87
split-complementary
#6D1C87 #6B871C #1C8738
monochromatic
#1B0722 #441154 #6D1C87 #9627BA #B545D8

Accessibility & contrast

On white

9.69
#6D1C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6D1C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1C87
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1C87#FFFFFF#000000##FFFFFF
##6D1C871.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#1B4785
Tritanopia (blue-blind)
#6B3451
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6d1c87;
/* rgb */ color: rgb(109, 28, 135);
/* oklch */ color: oklch(41.0% 0.173 316.2);
Tailwind
colors: {
  custom: {
    50: '#9b62ab',
    500: '#6d1c87',
    950: '#000000',
  },
}
SCSS
$custom: #6d1c87;
$custom-light: #9b62ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1c87",
  "rgb": {
    "r": 109,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 285.421,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41033,
    "c": 0.17257,
    "h": 316.2
  },
  "luminance": 0.05831
}

Semantic roles & 50–950 ramp

primary
#6D1C87
secondary
#61BA45
accent
#E93F68
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D1C87

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

Preview Lab → · Contrast checker → · Palette generator →

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