#6C1670#6C1670

#6C1670 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.158 H 326.1°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#6C1670
RGBrgb(108, 22, 112)
HSLhsl(297, 67%, 26%)
HSVhsv(297, 80%, 44%)
CMYKcmyk(3.6%, 80.4%, 0%, 56.1%)
CIE-LABlab(26.54, 47.82, -31.71)
CIE-LCHlch(26.54, 57.38, 326.45°)
OKLaboklab(38.77% 0.1313 -0.0882)
OKLCHoklch(38.77% 0.158 326.1)
XYZxyz(9.3957, 4.9325, 15.7833)
Luminance0.0493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1670 #1A7016
analogous
#3F1670 #6C1670 #701647
triadic
#6C1670 #706C16 #16706C
tetradic
#6C1670 #703F16 #1A7016 #164770
square
#6C1670 #703F16 #1A7016 #164770
split-complementary
#6C1670 #477016 #16703F
monochromatic
#19051A #3B0C3D #6C1670 #9D20A3 #CE2BD5

Accessibility & contrast

On white

10.57
#6C1670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#6C1670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1670
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1670#FFFFFF#000000##FFFFFF
##6C16701.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003872
Deuteranopia (green-blind)
#2C426E
Tritanopia (blue-blind)
#6F2643
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6c1670;
/* rgb */ color: rgb(108, 22, 112);
/* oklch */ color: oklch(38.8% 0.158 326.1);
Tailwind
colors: {
  custom: {
    50: '#995f99',
    500: '#6c1670',
    950: '#000000',
  },
}
SCSS
$custom: #6c1670;
$custom-light: #995f99;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1670",
  "rgb": {
    "r": 108,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 297.333,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.38769,
    "c": 0.1582,
    "h": 326.1
  },
  "luminance": 0.04932
}

Semantic roles & 50–950 ramp

primary
#6C1670
secondary
#41A63C
accent
#EA3E45
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1670

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

Preview Lab → · Contrast checker → · Palette generator →

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