#6C2173#6C2173

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

Color values

HEX#6C2173
RGBrgb(108, 33, 115)
HSLhsl(295, 55%, 29%)
HSVhsv(295, 71%, 45%)
CMYKcmyk(6.1%, 71.3%, 0%, 54.9%)
CIE-LABlab(28.15, 44.32, -31.07)
CIE-LCHlch(28.15, 54.13, 324.97°)
OKLaboklab(39.98% 0.12 -0.0864)
OKLCHoklch(39.98% 0.148 324.2)
XYZxyz(9.8224, 5.5143, 16.7633)
Luminance0.0551 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2173 #287321
analogous
#432173 #6C2173 #732151
triadic
#6C2173 #736C21 #21736C
tetradic
#6C2173 #734321 #287321 #215173
square
#6C2173 #734321 #287321 #215173
split-complementary
#6C2173 #517321 #217343
monochromatic
#160718 #3F1343 #6C2173 #992FA3 #BE45CA

Accessibility & contrast

On white

9.99
#6C2173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C2173
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2173#FFFFFF#000000##FFFFFF
##6C21731.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3D75
Deuteranopia (green-blind)
#304571
Tritanopia (blue-blind)
#6E2E47
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6c2173;
/* rgb */ color: rgb(108, 33, 115);
/* oklch */ color: oklch(40.0% 0.148 324.2);
Tailwind
colors: {
  custom: {
    50: '#99649c',
    500: '#6c2173',
    950: '#000000',
  },
}
SCSS
$custom: #6c2173;
$custom-light: #99649c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2173",
  "rgb": {
    "r": 108,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 294.878,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39981,
    "c": 0.14788,
    "h": 324.2
  },
  "luminance": 0.05514
}

Semantic roles & 50–950 ramp

primary
#6C2173
secondary
#51A649
accent
#DF4956
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6C2173

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

Preview Lab → · Contrast checker → · Palette generator →

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