#6B1777#6B1777

#6B1777 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.163 H 322.3°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#6B1777
RGBrgb(107, 23, 119)
HSLhsl(293, 68%, 28%)
HSVhsv(293, 81%, 47%)
CMYKcmyk(10.1%, 80.7%, 0%, 53.3%)
CIE-LABlab(26.94, 48.58, -35.57)
CIE-LCHlch(26.94, 60.21, 323.79°)
OKLaboklab(39.16% 0.1287 -0.0995)
OKLCHoklch(39.16% 0.163 322.3)
XYZxyz(9.6992, 5.0711, 17.9171)
Luminance0.0507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1777 #237717
analogous
#3B1777 #6B1777 #771753
triadic
#6B1777 #776B17 #17776B
tetradic
#6B1777 #773B17 #237717 #175377
square
#6B1777 #773B17 #237717 #175377
split-complementary
#6B1777 #537717 #17773B
monochromatic
#17051A #3D0D44 #6B1777 #9921AA #C231D7

Accessibility & contrast

On white

10.43
#6B1777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#6B1777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1777
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1777#FFFFFF#000000##FFFFFF
##6B17771.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7A
Deuteranopia (green-blind)
#264375
Tritanopia (blue-blind)
#6C2B47
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6b1777;
/* rgb */ color: rgb(107, 23, 119);
/* oklch */ color: oklch(39.2% 0.163 322.3);
Tailwind
colors: {
  custom: {
    50: '#995f9f',
    500: '#6b1777',
    950: '#000000',
  },
}
SCSS
$custom: #6b1777;
$custom-light: #995f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1777",
  "rgb": {
    "r": 107,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 292.5,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39163,
    "c": 0.16268,
    "h": 322.3
  },
  "luminance": 0.05071
}

Semantic roles & 50–950 ramp

primary
#6B1777
secondary
#4BAC3E
accent
#EA3D53
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6B1777

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

Preview Lab → · Contrast checker → · Palette generator →

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