#6C1370#6C1370

#6C1370 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.5% C 0.161 H 326.2°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#6C1370
RGBrgb(108, 19, 112)
HSLhsl(297, 71%, 26%)
HSVhsv(297, 83%, 44%)
CMYKcmyk(3.6%, 83%, 0%, 56.1%)
CIE-LABlab(26.23, 48.73, -32.21)
CIE-LCHlch(26.23, 58.41, 326.53°)
OKLaboklab(38.55% 0.1338 -0.0897)
OKLCHoklch(38.55% 0.161 326.2)
XYZxyz(9.3417, 4.8244, 15.7653)
Luminance0.0482 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1370 #177013
analogous
#3D1370 #6C1370 #701345
triadic
#6C1370 #706C13 #13706C
tetradic
#6C1370 #703D13 #177013 #134570
square
#6C1370 #703D13 #177013 #134570
split-complementary
#6C1370 #457013 #13703D
monochromatic
#19041A #3A0A3C #6C1370 #9E1CA4 #D125D9

Accessibility & contrast

On white

10.69
#6C1370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#6C1370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1370
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1370#FFFFFF#000000##FFFFFF
##6C13701.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003772
Deuteranopia (green-blind)
#2B426E
Tritanopia (blue-blind)
#6F2542
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6c1370;
/* rgb */ color: rgb(108, 19, 112);
/* oklch */ color: oklch(38.5% 0.161 326.2);
Tailwind
colors: {
  custom: {
    50: '#9a5e99',
    500: '#6c1370',
    950: '#000000',
  },
}
SCSS
$custom: #6c1370;
$custom-light: #9a5e99;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1370",
  "rgb": {
    "r": 108,
    "g": 19,
    "b": 112
  },
  "hsl": {
    "h": 297.419,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.38547,
    "c": 0.16111,
    "h": 326.2
  },
  "luminance": 0.04824
}

Semantic roles & 50–950 ramp

primary
#6C1370
secondary
#3DA738
accent
#EE3A42
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1370

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

Preview Lab → · Contrast checker → · Palette generator →

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