#6B1571#6B1571

#6B1571 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.6% C 0.160 H 325.1°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#6B1571
RGBrgb(107, 21, 113)
HSLhsl(296, 69%, 26%)
HSVhsv(296, 81%, 44%)
CMYKcmyk(5.3%, 81.4%, 0%, 55.7%)
CIE-LABlab(26.32, 48.10, -32.72)
CIE-LCHlch(26.32, 58.17, 325.77°)
OKLaboklab(38.6% 0.1309 -0.0912)
OKLCHoklch(38.6% 0.16 325.1)
XYZxyz(9.3120, 4.8550, 16.0662)
Luminance0.0485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1571 #1B7115
analogous
#3D1571 #6B1571 #711549
triadic
#6B1571 #716B15 #15716B
tetradic
#6B1571 #713D15 #1B7115 #154971
square
#6B1571 #713D15 #1B7115 #154971
split-complementary
#6B1571 #497115 #15713D
monochromatic
#18051A #3A0B3D #6B1571 #9C1FA5 #CC29D7

Accessibility & contrast

On white

10.66
#6B1571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#6B1571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1571
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1571#FFFFFF#000000##FFFFFF
##6B15711.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#2A426F
Tritanopia (blue-blind)
#6E2643
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6b1571;
/* rgb */ color: rgb(107, 21, 113);
/* oklch */ color: oklch(38.6% 0.160 325.1);
Tailwind
colors: {
  custom: {
    50: '#995e9a',
    500: '#6b1571',
    950: '#000000',
  },
}
SCSS
$custom: #6b1571;
$custom-light: #995e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1571",
  "rgb": {
    "r": 107,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 296.087,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.38596,
    "c": 0.15957,
    "h": 325.1
  },
  "luminance": 0.04854
}

Semantic roles & 50–950 ramp

primary
#6B1571
secondary
#42A73B
accent
#EB3C48
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6B1571

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

Preview Lab → · Contrast checker → · Palette generator →

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