#6C1972#6C1972

#6C1972 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.1% C 0.157 H 325.0°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#6C1972
RGBrgb(108, 25, 114)
HSLhsl(296, 64%, 27%)
HSVhsv(296, 78%, 45%)
CMYKcmyk(5.3%, 78.1%, 0%, 55.3%)
CIE-LABlab(27.01, 47.19, -32.24)
CIE-LCHlch(27.01, 57.16, 325.66°)
OKLaboklab(39.15% 0.1285 -0.0898)
OKLCHoklch(39.15% 0.157 325)
XYZxyz(9.5690, 5.0989, 16.3965)
Luminance0.0510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1972 #1F7219
analogous
#401972 #6C1972 #72194C
triadic
#6C1972 #726C19 #19726C
tetradic
#6C1972 #724019 #1F7219 #194C72
square
#6C1972 #724019 #1F7219 #194C72
split-complementary
#6C1972 #4C7219 #197240
monochromatic
#180619 #3C0E40 #6C1972 #9C24A4 #C833D2

Accessibility & contrast

On white

10.40
#6C1972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#6C1972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1972
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1972#FFFFFF#000000##FFFFFF
##6C19721.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#2C4370
Tritanopia (blue-blind)
#6F2944
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6c1972;
/* rgb */ color: rgb(108, 25, 114);
/* oklch */ color: oklch(39.1% 0.157 325.0);
Tailwind
colors: {
  custom: {
    50: '#99609b',
    500: '#6c1972',
    950: '#000000',
  },
}
SCSS
$custom: #6c1972;
$custom-light: #99609b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1972",
  "rgb": {
    "r": 108,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 295.955,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.39147,
    "c": 0.15673,
    "h": 325
  },
  "luminance": 0.05098
}

Semantic roles & 50–950 ramp

primary
#6C1972
secondary
#47A740
accent
#E7414C
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1972

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

Preview Lab → · Contrast checker → · Palette generator →

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