#6C1574#6C1574

#6C1574 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.163 H 324.2°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#6C1574
RGBrgb(108, 21, 116)
HSLhsl(295, 69%, 27%)
HSVhsv(295, 82%, 45%)
CMYKcmyk(6.9%, 81.9%, 0%, 54.5%)
CIE-LABlab(26.70, 48.86, -34.03)
CIE-LCHlch(26.70, 59.54, 325.14°)
OKLaboklab(38.96% 0.1319 -0.095)
OKLCHoklch(38.96% 0.163 324.2)
XYZxyz(9.6046, 4.9861, 16.9761)
Luminance0.0498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1574 #1D7415
analogous
#3C1574 #6C1574 #74154D
triadic
#6C1574 #746C15 #15746C
tetradic
#6C1574 #743C15 #1D7415 #154D74
square
#6C1574 #743C15 #1D7415 #154D74
split-complementary
#6C1574 #4D7415 #15743C
monochromatic
#18051A #3C0C40 #6C1574 #9C1EA8 #CA2BD9

Accessibility & contrast

On white

10.52
#6C1574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#6C1574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1574
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1574#FFFFFF#000000##FFFFFF
##6C15741.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#294372
Tritanopia (blue-blind)
#6E2845
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6c1574;
/* rgb */ color: rgb(108, 21, 116);
/* oklch */ color: oklch(39.0% 0.163 324.2);
Tailwind
colors: {
  custom: {
    50: '#9a5f9c',
    500: '#6c1574',
    950: '#000000',
  },
}
SCSS
$custom: #6c1574;
$custom-light: #9a5f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1574",
  "rgb": {
    "r": 108,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 294.947,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.38962,
    "c": 0.16253,
    "h": 324.2
  },
  "luminance": 0.04985
}

Semantic roles & 50–950 ramp

primary
#6C1574
secondary
#44AA3B
accent
#EC3C4B
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1574

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

Preview Lab → · Contrast checker → · Palette generator →

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