#6C1572#6C1572

#6C1572 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.161 H 325.2°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#6C1572
RGBrgb(108, 21, 114)
HSLhsl(296, 69%, 26%)
HSVhsv(296, 82%, 45%)
CMYKcmyk(5.3%, 81.6%, 0%, 55.3%)
CIE-LABlab(26.56, 48.49, -32.96)
CIE-LCHlch(26.56, 58.64, 325.80°)
OKLaboklab(38.83% 0.1321 -0.0919)
OKLCHoklch(38.83% 0.161 325.2)
XYZxyz(9.4895, 4.9400, 16.3700)
Luminance0.0494 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1572 #1B7215
analogous
#3E1572 #6C1572 #72154A
triadic
#6C1572 #726C15 #15726C
tetradic
#6C1572 #723E15 #1B7215 #154A72
square
#6C1572 #723E15 #1B7215 #154A72
split-complementary
#6C1572 #4A7215 #15723E
monochromatic
#18051A #3B0B3E #6C1572 #9D1FA6 #CC2AD8

Accessibility & contrast

On white

10.56
#6C1572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#6C1572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1572
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1572#FFFFFF#000000##FFFFFF
##6C15721.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#2A4270
Tritanopia (blue-blind)
#6F2744
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6c1572;
/* rgb */ color: rgb(108, 21, 114);
/* oklch */ color: oklch(38.8% 0.161 325.2);
Tailwind
colors: {
  custom: {
    50: '#995e9b',
    500: '#6c1572',
    950: '#000000',
  },
}
SCSS
$custom: #6c1572;
$custom-light: #995e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1572",
  "rgb": {
    "r": 108,
    "g": 21,
    "b": 114
  },
  "hsl": {
    "h": 296.129,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.38826,
    "c": 0.16087,
    "h": 325.2
  },
  "luminance": 0.04939
}

Semantic roles & 50–950 ramp

primary
#6C1572
secondary
#42A83B
accent
#EC3C47
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1572

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

Preview Lab → · Contrast checker → · Palette generator →

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