#6B176B#6B176B

#6B176B is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.4% C 0.153 H 328.1°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#6B176B
RGBrgb(107, 23, 107)
HSLhsl(300, 65%, 25%)
HSVhsv(300, 79%, 42%)
CMYKcmyk(0%, 78.5%, 0%, 58%)
CIE-LABlab(26.16, 46.37, -29.11)
CIE-LCHlch(26.16, 54.75, 327.88°)
OKLaboklab(38.36% 0.1294 -0.0807)
OKLCHoklch(38.36% 0.153 328.1)
XYZxyz(9.0235, 4.8008, 14.3584)
Luminance0.0480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B176B #176B17
analogous
#41176B #6B176B #6B1741
triadic
#6B176B #6B6B17 #176B6B
tetradic
#6B176B #6B4117 #176B17 #17416B
square
#6B176B #6B4117 #176B17 #17416B
split-complementary
#6B176B #416B17 #176B41
monochromatic
#190519 #390C39 #6B176B #9D229D #D02DD0

Accessibility & contrast

On white

10.71
#6B176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B176B
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B176B#FFFFFF#000000##FFFFFF
##6B176B1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04376D
Deuteranopia (green-blind)
#2E4269
Tritanopia (blue-blind)
#6F2540
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6b176b;
/* rgb */ color: rgb(107, 23, 107);
/* oklch */ color: oklch(38.4% 0.153 328.1);
Tailwind
colors: {
  custom: {
    50: '#995f96',
    500: '#6b176b',
    950: '#000000',
  },
}
SCSS
$custom: #6b176b;
$custom-light: #995f96;
$custom-dark: #000000;
JSON
{
  "hex": "#6b176b",
  "rgb": {
    "r": 107,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 300,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.38361,
    "c": 0.15251,
    "h": 328.1
  },
  "luminance": 0.048
}

Semantic roles & 50–950 ramp

primary
#6B176B
secondary
#3DA13D
accent
#E84040
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6B176B

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

Preview Lab → · Contrast checker → · Palette generator →

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