#6A2176#6A2176

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

Color values

HEX#6A2176
RGBrgb(106, 33, 118)
HSLhsl(292, 56%, 30%)
HSVhsv(292, 72%, 46%)
CMYKcmyk(10.2%, 72%, 0%, 53.7%)
CIE-LABlab(28.01, 44.43, -33.23)
CIE-LCHlch(28.01, 55.48, 323.21°)
OKLaboklab(39.87% 0.1174 -0.0928)
OKLCHoklch(39.87% 0.15 321.7)
XYZxyz(9.7574, 5.4604, 17.6760)
Luminance0.0546 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2176 #2D7621
analogous
#3F2176 #6A2176 #762158
triadic
#6A2176 #766A21 #21766A
tetradic
#6A2176 #763F21 #2D7621 #215876
square
#6A2176 #763F21 #2D7621 #215876
split-complementary
#6A2176 #587621 #21763F
monochromatic
#150718 #3F1446 #6A2176 #952EA6 #B846CB

Accessibility & contrast

On white

10.04
#6A2176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#6A2176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2176
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2176#FFFFFF#000000##FFFFFF
##6A21761.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033D78
Deuteranopia (green-blind)
#2C4574
Tritanopia (blue-blind)
#6B3049
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6a2176;
/* rgb */ color: rgb(106, 33, 118);
/* oklch */ color: oklch(39.9% 0.150 321.7);
Tailwind
colors: {
  custom: {
    50: '#98639e',
    500: '#6a2176',
    950: '#000000',
  },
}
SCSS
$custom: #6a2176;
$custom-light: #98639e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2176",
  "rgb": {
    "r": 106,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 291.529,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39872,
    "c": 0.14966,
    "h": 321.7
  },
  "luminance": 0.0546
}

Semantic roles & 50–950 ramp

primary
#6A2176
secondary
#57A94A
accent
#E0485E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6A2176

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

Preview Lab → · Contrast checker → · Palette generator →

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