#6C1581#6C1581

#6C1581 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.9% C 0.174 H 318.6°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#6C1581
RGBrgb(108, 21, 129)
HSLhsl(288, 72%, 29%)
HSVhsv(288, 84%, 51%)
CMYKcmyk(16.3%, 83.7%, 0%, 49.4%)
CIE-LABlab(27.60, 51.33, -40.82)
CIE-LCHlch(27.60, 65.58, 321.50°)
OKLaboklab(39.89% 0.1301 -0.1149)
OKLCHoklch(39.89% 0.174 318.6)
XYZxyz(10.4144, 5.3100, 21.2410)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1581 #2A8115
analogous
#361581 #6C1581 #811560
triadic
#6C1581 #816C15 #15816C
tetradic
#6C1581 #813615 #2A8115 #156081
square
#6C1581 #813615 #2A8115 #156081
split-complementary
#6C1581 #608115 #158136
monochromatic
#16041A #400C4C #6C1581 #981EB6 #BC33DE

Accessibility & contrast

On white

10.19
#6C1581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6C1581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1581
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1581#FFFFFF#000000##FFFFFF
##6C15811.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C84
Deuteranopia (green-blind)
#1C447F
Tritanopia (blue-blind)
#6B2E4C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6c1581;
/* rgb */ color: rgb(108, 21, 129);
/* oklch */ color: oklch(39.9% 0.174 318.6);
Tailwind
colors: {
  custom: {
    50: '#9a5fa6',
    500: '#6c1581',
    950: '#000000',
  },
}
SCSS
$custom: #6c1581;
$custom-light: #9a5fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1581",
  "rgb": {
    "r": 108,
    "g": 21,
    "b": 129
  },
  "hsl": {
    "h": 288.333,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39888,
    "c": 0.1736,
    "h": 318.6
  },
  "luminance": 0.05309
}

Semantic roles & 50–950 ramp

primary
#6C1581
secondary
#54B63C
accent
#EF395C
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6C1581

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

Preview Lab → · Contrast checker → · Palette generator →

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