#6C1672#6C1672

#6C1672 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.160 H 325.1°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#6C1672
RGBrgb(108, 22, 114)
HSLhsl(296, 68%, 27%)
HSVhsv(296, 81%, 45%)
CMYKcmyk(5.3%, 80.7%, 0%, 55.3%)
CIE-LABlab(26.67, 48.18, -32.79)
CIE-LCHlch(26.67, 58.28, 325.76°)
OKLaboklab(38.9% 0.1312 -0.0914)
OKLCHoklch(38.9% 0.16 325.1)
XYZxyz(9.5083, 4.9775, 16.3763)
Luminance0.0498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1672 #1C7216
analogous
#3E1672 #6C1672 #72164A
triadic
#6C1672 #726C16 #16726C
tetradic
#6C1672 #723E16 #1C7216 #164A72
square
#6C1672 #723E16 #1C7216 #164A72
split-complementary
#6C1672 #4A7216 #16723E
monochromatic
#18051A #3B0C3F #6C1672 #9D20A5 #CB2CD6

Accessibility & contrast

On white

10.52
#6C1672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#6C1672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1672
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1672#FFFFFF#000000##FFFFFF
##6C16721.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#2A4370
Tritanopia (blue-blind)
#6F2744
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6c1672;
/* rgb */ color: rgb(108, 22, 114);
/* oklch */ color: oklch(38.9% 0.160 325.1);
Tailwind
colors: {
  custom: {
    50: '#995f9b',
    500: '#6c1672',
    950: '#000000',
  },
}
SCSS
$custom: #6c1672;
$custom-light: #995f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1672",
  "rgb": {
    "r": 108,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 296.087,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.38902,
    "c": 0.15988,
    "h": 325.1
  },
  "luminance": 0.04977
}

Semantic roles & 50–950 ramp

primary
#6C1672
secondary
#43A83C
accent
#EB3D49
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1672

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

Preview Lab → · Contrast checker → · Palette generator →

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