#6B176D#6B176D

#6B176D is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.5% C 0.154 H 327.0°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#6B176D
RGBrgb(107, 23, 109)
HSLhsl(299, 65%, 26%)
HSVhsv(299, 79%, 43%)
CMYKcmyk(1.8%, 78.9%, 0%, 57.3%)
CIE-LABlab(26.28, 46.73, -30.20)
CIE-LCHlch(26.28, 55.64, 327.12°)
OKLaboklab(38.49% 0.1294 -0.0839)
OKLCHoklch(38.49% 0.154 327)
XYZxyz(9.1300, 4.8434, 14.9190)
Luminance0.0484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B176D #196D17
analogous
#40176D #6B176D #6D1744
triadic
#6B176D #6D6B17 #176D6B
tetradic
#6B176D #6D4017 #196D17 #17446D
square
#6B176D #6D4017 #196D17 #17446D
split-complementary
#6B176D #446D17 #176D40
monochromatic
#190519 #390C3A #6B176D #9D22A0 #CE2CD2

Accessibility & contrast

On white

10.67
#6B176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B176D
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B176D#FFFFFF#000000##FFFFFF
##6B176D1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00376F
Deuteranopia (green-blind)
#2D426B
Tritanopia (blue-blind)
#6E2641
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6b176d;
/* rgb */ color: rgb(107, 23, 109);
/* oklch */ color: oklch(38.5% 0.154 327.0);
Tailwind
colors: {
  custom: {
    50: '#995f97',
    500: '#6b176d',
    950: '#000000',
  },
}
SCSS
$custom: #6b176d;
$custom-light: #995f97;
$custom-dark: #000000;
JSON
{
  "hex": "#6b176d",
  "rgb": {
    "r": 107,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 298.605,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3849,
    "c": 0.15417,
    "h": 327
  },
  "luminance": 0.04843
}

Semantic roles & 50–950 ramp

primary
#6B176D
secondary
#3FA33D
accent
#E84044
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6B176D

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

Preview Lab → · Contrast checker → · Palette generator →

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