#6B177A#6B177A

#6B177A is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.4% C 0.165 H 320.9°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#6B177A
RGBrgb(107, 23, 122)
HSLhsl(291, 68%, 28%)
HSVhsv(291, 81%, 48%)
CMYKcmyk(12.3%, 81.1%, 0%, 52.2%)
CIE-LABlab(27.14, 49.16, -37.15)
CIE-LCHlch(27.14, 61.61, 322.92°)
OKLaboklab(39.37% 0.1283 -0.1041)
OKLCHoklch(39.37% 0.165 320.9)
XYZxyz(9.8822, 5.1443, 18.8810)
Luminance0.0514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B177A #267A17
analogous
#39177A #6B177A #7A1757
triadic
#6B177A #7A6B17 #177A6B
tetradic
#6B177A #7A3917 #267A17 #17577A
square
#6B177A #7A3917 #267A17 #17577A
split-complementary
#6B177A #577A17 #177A39
monochromatic
#17051A #3E0D47 #6B177A #9821AD #BF33D9

Accessibility & contrast

On white

10.35
#6B177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#6B177A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B177A
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B177A#FFFFFF#000000##FFFFFF
##6B177A1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#234378
Tritanopia (blue-blind)
#6C2C49
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6b177a;
/* rgb */ color: rgb(107, 23, 122);
/* oklch */ color: oklch(39.4% 0.165 320.9);
Tailwind
colors: {
  custom: {
    50: '#995fa1',
    500: '#6b177a',
    950: '#000000',
  },
}
SCSS
$custom: #6b177a;
$custom-light: #995fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b177a",
  "rgb": {
    "r": 107,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 290.909,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39374,
    "c": 0.16527,
    "h": 320.9
  },
  "luminance": 0.05144
}

Semantic roles & 50–950 ramp

primary
#6B177A
secondary
#4FAF3E
accent
#EB3D57
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6B177A

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

Preview Lab → · Contrast checker → · Palette generator →

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