#6C2175#6C2175

#6C2175 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.1% C 0.150 H 323.2°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#6C2175
RGBrgb(108, 33, 117)
HSLhsl(294, 56%, 29%)
HSVhsv(294, 72%, 46%)
CMYKcmyk(7.7%, 71.8%, 0%, 54.1%)
CIE-LABlab(28.28, 44.71, -32.14)
CIE-LCHlch(28.28, 55.07, 324.29°)
OKLaboklab(40.11% 0.12 -0.0896)
OKLCHoklch(40.11% 0.15 323.2)
XYZxyz(9.9388, 5.5608, 17.3760)
Luminance0.0556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2175 #2A7521
analogous
#422175 #6C2175 #752154
triadic
#6C2175 #756C21 #21756C
tetradic
#6C2175 #754221 #2A7521 #215475
square
#6C2175 #754221 #2A7521 #215475
split-complementary
#6C2175 #547521 #217542
monochromatic
#160718 #401445 #6C2175 #982EA5 #BC46CB

Accessibility & contrast

On white

9.94
#6C2175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C2175
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2175#FFFFFF#000000##FFFFFF
##6C21751.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083D77
Deuteranopia (green-blind)
#2E4673
Tritanopia (blue-blind)
#6E2F48
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6c2175;
/* rgb */ color: rgb(108, 33, 117);
/* oklch */ color: oklch(40.1% 0.150 323.2);
Tailwind
colors: {
  custom: {
    50: '#99649d',
    500: '#6c2175',
    950: '#000000',
  },
}
SCSS
$custom: #6c2175;
$custom-light: #99649d;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2175",
  "rgb": {
    "r": 108,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 293.571,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4011,
    "c": 0.14972,
    "h": 323.2
  },
  "luminance": 0.0556
}

Semantic roles & 50–950 ramp

primary
#6C2175
secondary
#54A84A
accent
#DF4959
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6C2175

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

Preview Lab → · Contrast checker → · Palette generator →

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