#6C1C87#6C1C87

#6C1C87 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.172 H 315.7°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#6C1C87
RGBrgb(108, 28, 135)
HSLhsl(285, 66%, 32%)
HSVhsv(285, 79%, 53%)
CMYKcmyk(20%, 79.3%, 0%, 47.1%)
CIE-LABlab(28.82, 50.26, -42.61)
CIE-LCHlch(28.82, 65.89, 319.71°)
OKLaboklab(40.89% 0.1233 -0.1202)
OKLCHoklch(40.89% 0.172 315.7)
XYZxyz(10.9721, 5.7684, 23.4524)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1C87 #37871C
analogous
#371C87 #6C1C87 #871C6D
triadic
#6C1C87 #876C1C #1C876C
tetradic
#6C1C87 #87371C #37871C #1C6D87
square
#6C1C87 #87371C #37871C #1C6D87
split-complementary
#6C1C87 #6D871C #1C8737
monochromatic
#1B0722 #431154 #6C1C87 #9527BA #B345D8

Accessibility & contrast

On white

9.75
#6C1C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6C1C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1C87
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1C87#FFFFFF#000000##FFFFFF
##6C1C871.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#194685
Tritanopia (blue-blind)
#6A3451
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6c1c87;
/* rgb */ color: rgb(108, 28, 135);
/* oklch */ color: oklch(40.9% 0.172 315.7);
Tailwind
colors: {
  custom: {
    50: '#9a62ab',
    500: '#6c1c87',
    950: '#000000',
  },
}
SCSS
$custom: #6c1c87;
$custom-light: #9a62ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1c87",
  "rgb": {
    "r": 108,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 284.86,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40886,
    "c": 0.17219,
    "h": 315.7
  },
  "luminance": 0.05768
}

Semantic roles & 50–950 ramp

primary
#6C1C87
secondary
#62BA45
accent
#E93F6A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6C1C87

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

Preview Lab → · Contrast checker → · Palette generator →

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