#6C1970#6C1970

#6C1970 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.0% C 0.155 H 326.0°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#6C1970
RGBrgb(108, 25, 112)
HSLhsl(297, 64%, 27%)
HSVhsv(297, 78%, 44%)
CMYKcmyk(3.6%, 77.7%, 0%, 56.1%)
CIE-LABlab(26.89, 46.82, -31.16)
CIE-LCHlch(26.89, 56.25, 326.36°)
OKLaboklab(39.02% 0.1285 -0.0866)
OKLCHoklch(39.02% 0.155 326)
XYZxyz(9.4564, 5.0539, 15.8035)
Luminance0.0505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1970 #1D7019
analogous
#411970 #6C1970 #701949
triadic
#6C1970 #706C19 #19706C
tetradic
#6C1970 #704119 #1D7019 #194970
square
#6C1970 #704119 #1D7019 #194970
split-complementary
#6C1970 #497019 #197041
monochromatic
#180619 #3C0E3E #6C1970 #9C24A2 #CA32D1

Accessibility & contrast

On white

10.44
#6C1970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#6C1970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1970
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1970#FFFFFF#000000##FFFFFF
##6C19701.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003972
Deuteranopia (green-blind)
#2D436E
Tritanopia (blue-blind)
#6F2843
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6c1970;
/* rgb */ color: rgb(108, 25, 112);
/* oklch */ color: oklch(39.0% 0.155 326.0);
Tailwind
colors: {
  custom: {
    50: '#996099',
    500: '#6c1970',
    950: '#000000',
  },
}
SCSS
$custom: #6c1970;
$custom-light: #996099;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1970",
  "rgb": {
    "r": 108,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 297.241,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.39016,
    "c": 0.15502,
    "h": 326
  },
  "luminance": 0.05053
}

Semantic roles & 50–950 ramp

primary
#6C1970
secondary
#44A540
accent
#E74149
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1970

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

Preview Lab → · Contrast checker → · Palette generator →

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