#6C2170#6C2170

#6C2170 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.8% C 0.145 H 325.7°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#6C2170
RGBrgb(108, 33, 112)
HSLhsl(297, 54%, 28%)
HSVhsv(297, 71%, 44%)
CMYKcmyk(3.6%, 70.5%, 0%, 56.1%)
CIE-LABlab(27.97, 43.75, -29.44)
CIE-LCHlch(27.97, 52.73, 326.06°)
OKLaboklab(39.79% 0.12 -0.0817)
OKLCHoklch(39.79% 0.145 325.7)
XYZxyz(9.6526, 5.4463, 15.8689)
Luminance0.0545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2170 #257021
analogous
#442170 #6C2170 #70214C
triadic
#6C2170 #706C21 #21706C
tetradic
#6C2170 #704421 #257021 #214C70
square
#6C2170 #704421 #257021 #214C70
split-complementary
#6C2170 #4C7021 #217044
monochromatic
#170718 #3E1341 #6C2170 #9A2F9F #C144C8

Accessibility & contrast

On white

10.05
#6C2170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C2170
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2170#FFFFFF#000000##FFFFFF
##6C21701.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#113C72
Deuteranopia (green-blind)
#31456E
Tritanopia (blue-blind)
#6F2D46
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6c2170;
/* rgb */ color: rgb(108, 33, 112);
/* oklch */ color: oklch(39.8% 0.145 325.7);
Tailwind
colors: {
  custom: {
    50: '#996399',
    500: '#6c2170',
    950: '#000000',
  },
}
SCSS
$custom: #6c2170;
$custom-light: #996399;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2170",
  "rgb": {
    "r": 108,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 296.962,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39791,
    "c": 0.14515,
    "h": 325.7
  },
  "luminance": 0.05446
}

Semantic roles & 50–950 ramp

primary
#6C2170
secondary
#4EA449
accent
#DE4A51
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6C2170

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

Preview Lab → · Contrast checker → · Palette generator →

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