#6D1581#6D1581

#6D1581 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.174 H 319.1°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#6D1581
RGBrgb(109, 21, 129)
HSLhsl(289, 72%, 29%)
HSVhsv(289, 84%, 51%)
CMYKcmyk(15.5%, 83.7%, 0%, 49.4%)
CIE-LABlab(27.77, 51.52, -40.53)
CIE-LCHlch(27.77, 65.55, 321.80°)
OKLaboklab(40.04% 0.1314 -0.114)
OKLCHoklch(40.04% 0.174 319.1)
XYZxyz(10.5368, 5.3731, 21.2467)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1581 #298115
analogous
#371581 #6D1581 #81155F
triadic
#6D1581 #816D15 #15816D
tetradic
#6D1581 #813715 #298115 #155F81
square
#6D1581 #813715 #298115 #155F81
split-complementary
#6D1581 #5F8115 #158137
monochromatic
#16041A #410C4C #6D1581 #991EB6 #BE33DE

Accessibility & contrast

On white

10.12
#6D1581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#6D1581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1581
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1581#FFFFFF#000000##FFFFFF
##6D15811.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C84
Deuteranopia (green-blind)
#1D447F
Tritanopia (blue-blind)
#6D2E4C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6d1581;
/* rgb */ color: rgb(109, 21, 129);
/* oklch */ color: oklch(40.0% 0.174 319.1);
Tailwind
colors: {
  custom: {
    50: '#9b5fa6',
    500: '#6d1581',
    950: '#000000',
  },
}
SCSS
$custom: #6d1581;
$custom-light: #9b5fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1581",
  "rgb": {
    "r": 109,
    "g": 21,
    "b": 129
  },
  "hsl": {
    "h": 288.889,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40043,
    "c": 0.17398,
    "h": 319.1
  },
  "luminance": 0.05373
}

Semantic roles & 50–950 ramp

primary
#6D1581
secondary
#53B63C
accent
#EF395B
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0F050F
muted
#7E797F

Preview Lab

Preview with #6D1581

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

Preview Lab → · Contrast checker → · Palette generator →

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