#6B2177#6B2177

#6B2177 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.1% C 0.151 H 321.8°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#6B2177
RGBrgb(107, 33, 119)
HSLhsl(292, 57%, 30%)
HSVhsv(292, 72%, 47%)
CMYKcmyk(10.1%, 72.3%, 0%, 53.3%)
CIE-LABlab(28.24, 44.87, -33.49)
CIE-LCHlch(28.24, 55.99, 323.26°)
OKLaboklab(40.09% 0.1187 -0.0935)
OKLCHoklch(40.09% 0.151 321.8)
XYZxyz(9.9367, 5.5460, 17.9963)
Luminance0.0554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2177 #2D7721
analogous
#402177 #6B2177 #772158
triadic
#6B2177 #776B21 #21776B
tetradic
#6B2177 #774021 #2D7721 #215877
square
#6B2177 #774021 #2D7721 #215877
split-complementary
#6B2177 #587721 #217740
monochromatic
#160718 #401447 #6B2177 #962EA7 #B947CC

Accessibility & contrast

On white

9.96
#6B2177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6B2177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2177
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2177#FFFFFF#000000##FFFFFF
##6B21771.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023D79
Deuteranopia (green-blind)
#2C4575
Tritanopia (blue-blind)
#6C3049
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6b2177;
/* rgb */ color: rgb(107, 33, 119);
/* oklch */ color: oklch(40.1% 0.151 321.8);
Tailwind
colors: {
  custom: {
    50: '#98649f',
    500: '#6b2177',
    950: '#000000',
  },
}
SCSS
$custom: #6b2177;
$custom-light: #98649f;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2177",
  "rgb": {
    "r": 107,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 291.628,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40089,
    "c": 0.15108,
    "h": 321.8
  },
  "luminance": 0.05545
}

Semantic roles & 50–950 ramp

primary
#6B2177
secondary
#57AA4A
accent
#E0485D
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6B2177

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

Preview Lab → · Contrast checker → · Palette generator →

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