#6B2176#6B2176

#6B2176 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.0% C 0.150 H 322.2°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#6B2176
RGBrgb(107, 33, 118)
HSLhsl(292, 56%, 30%)
HSVhsv(292, 72%, 46%)
CMYKcmyk(9.3%, 72%, 0%, 53.7%)
CIE-LABlab(28.17, 44.67, -32.95)
CIE-LCHlch(28.17, 55.51, 323.58°)
OKLaboklab(40.02% 0.1187 -0.092)
OKLCHoklch(40.02% 0.15 322.2)
XYZxyz(9.8769, 5.5221, 17.6816)
Luminance0.0552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2176 #2C7621
analogous
#412176 #6B2176 #762157
triadic
#6B2176 #766B21 #21766B
tetradic
#6B2176 #764121 #2C7621 #215776
square
#6B2176 #764121 #2C7621 #215776
split-complementary
#6B2176 #577621 #217641
monochromatic
#160718 #401446 #6B2176 #962EA6 #BA46CB

Accessibility & contrast

On white

9.98
#6B2176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6B2176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2176
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2176#FFFFFF#000000##FFFFFF
##6B21761.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043D78
Deuteranopia (green-blind)
#2D4574
Tritanopia (blue-blind)
#6C3049
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6b2176;
/* rgb */ color: rgb(107, 33, 118);
/* oklch */ color: oklch(40.0% 0.150 322.2);
Tailwind
colors: {
  custom: {
    50: '#98649e',
    500: '#6b2176',
    950: '#000000',
  },
}
SCSS
$custom: #6b2176;
$custom-light: #98649e;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2176",
  "rgb": {
    "r": 107,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 292.235,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40023,
    "c": 0.15014,
    "h": 322.2
  },
  "luminance": 0.05522
}

Semantic roles & 50–950 ramp

primary
#6B2176
secondary
#56A94A
accent
#E0485C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6B2176

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

Preview Lab → · Contrast checker → · Palette generator →

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