#6C176F#6C176F

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

Color values

HEX#6C176F
RGBrgb(108, 23, 111)
HSLhsl(298, 66%, 26%)
HSVhsv(298, 79%, 44%)
CMYKcmyk(2.7%, 79.3%, 0%, 56.5%)
CIE-LABlab(26.59, 47.32, -30.99)
CIE-LCHlch(26.59, 56.56, 326.77°)
OKLaboklab(38.78% 0.1305 -0.0861)
OKLCHoklch(38.78% 0.156 326.6)
XYZxyz(9.3598, 4.9493, 15.4982)
Luminance0.0495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C176F #1A6F17
analogous
#40176F #6C176F #6F1746
triadic
#6C176F #6F6C17 #176F6C
tetradic
#6C176F #6F4017 #1A6F17 #17466F
square
#6C176F #6F4017 #1A6F17 #17466F
split-complementary
#6C176F #466F17 #176F40
monochromatic
#190519 #3B0C3C #6C176F #9D22A2 #CE2DD3

Accessibility & contrast

On white

10.55
#6C176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C176F
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C176F#FFFFFF#000000##FFFFFF
##6C176F1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#2D426D
Tritanopia (blue-blind)
#6F2642
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6c176f;
/* rgb */ color: rgb(108, 23, 111);
/* oklch */ color: oklch(38.8% 0.156 326.6);
Tailwind
colors: {
  custom: {
    50: '#995f99',
    500: '#6c176f',
    950: '#000000',
  },
}
SCSS
$custom: #6c176f;
$custom-light: #995f99;
$custom-dark: #000000;
JSON
{
  "hex": "#6c176f",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 297.955,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.38783,
    "c": 0.15634,
    "h": 326.6
  },
  "luminance": 0.04949
}

Semantic roles & 50–950 ramp

primary
#6C176F
secondary
#41A53D
accent
#E93F45
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C176F

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

Preview Lab → · Contrast checker → · Palette generator →

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