#6B176A#6B176A

#6B176A is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.3% C 0.152 H 328.6°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#6B176A
RGBrgb(107, 23, 106)
HSLhsl(301, 65%, 25%)
HSVhsv(301, 79%, 42%)
CMYKcmyk(0%, 78.5%, 0.9%, 58%)
CIE-LABlab(26.10, 46.20, -28.56)
CIE-LCHlch(26.10, 54.31, 328.27°)
OKLaboklab(38.3% 0.1294 -0.0791)
OKLCHoklch(38.3% 0.152 328.6)
XYZxyz(8.9712, 4.7799, 14.0830)
Luminance0.0478 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B176A #176B18
analogous
#42176B #6B176A #6B1740
triadic
#6B176A #6A6B17 #176A6B
tetradic
#6B176A #6B4217 #176B18 #17406B
square
#6B176A #6B4217 #176B18 #17406B
split-complementary
#6B176A #406B17 #176B42
monochromatic
#190519 #390C38 #6B176A #9D229C #D02DCE

Accessibility & contrast

On white

10.74
#6B176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#6B176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B176A
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B176A#FFFFFF#000000##FFFFFF
##6B176A1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06376C
Deuteranopia (green-blind)
#2F4268
Tritanopia (blue-blind)
#6F243F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6b176a;
/* rgb */ color: rgb(107, 23, 106);
/* oklch */ color: oklch(38.3% 0.152 328.6);
Tailwind
colors: {
  custom: {
    50: '#985f95',
    500: '#6b176a',
    950: '#000000',
  },
}
SCSS
$custom: #6b176a;
$custom-light: #985f95;
$custom-dark: #000000;
JSON
{
  "hex": "#6b176a",
  "rgb": {
    "r": 107,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 300.714,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.38298,
    "c": 0.15169,
    "h": 328.6
  },
  "luminance": 0.04779
}

Semantic roles & 50–950 ramp

primary
#6B176A
secondary
#3DA13E
accent
#E84240
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6B176A

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

Preview Lab → · Contrast checker → · Palette generator →

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