#6B177F#6B177F

#6B177F is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.170 H 318.8°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#6B177F
RGBrgb(107, 23, 127)
HSLhsl(288, 69%, 29%)
HSVhsv(288, 82%, 50%)
CMYKcmyk(15.7%, 81.9%, 0%, 50.2%)
CIE-LABlab(27.49, 50.13, -39.74)
CIE-LCHlch(27.49, 63.97, 321.59°)
OKLaboklab(39.74% 0.1276 -0.1118)
OKLCHoklch(39.74% 0.17 318.8)
XYZxyz(10.2000, 5.2714, 20.5548)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B177F #2B7F17
analogous
#37177F #6B177F #7F175F
triadic
#6B177F #7F6B17 #177F6B
tetradic
#6B177F #7F3717 #2B7F17 #175F7F
square
#6B177F #7F3717 #2B7F17 #175F7F
split-complementary
#6B177F #5F7F17 #177F37
monochromatic
#16051A #3F0E4B #6B177F #9720B3 #BB36DB

Accessibility & contrast

On white

10.22
#6B177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#6B177F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B177F
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B177F#FFFFFF#000000##FFFFFF
##6B177F1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#1E447D
Tritanopia (blue-blind)
#6B2E4B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6b177f;
/* rgb */ color: rgb(107, 23, 127);
/* oklch */ color: oklch(39.7% 0.170 318.8);
Tailwind
colors: {
  custom: {
    50: '#9960a5',
    500: '#6b177f',
    950: '#000000',
  },
}
SCSS
$custom: #6b177f;
$custom-light: #9960a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b177f",
  "rgb": {
    "r": 107,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 288.462,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39735,
    "c": 0.16964,
    "h": 318.8
  },
  "luminance": 0.05271
}

Semantic roles & 50–950 ramp

primary
#6B177F
secondary
#55B43E
accent
#EC3C5E
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6B177F

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

Preview Lab → · Contrast checker → · Palette generator →

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