#6C1472#6C1472

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

Color values

HEX#6C1472
RGBrgb(108, 20, 114)
HSLhsl(296, 70%, 26%)
HSVhsv(296, 82%, 45%)
CMYKcmyk(5.3%, 82.5%, 0%, 55.3%)
CIE-LABlab(26.46, 48.79, -33.13)
CIE-LCHlch(26.46, 58.98, 325.83°)
OKLaboklab(38.75% 0.1329 -0.0923)
OKLCHoklch(38.75% 0.162 325.2)
XYZxyz(9.4715, 4.9040, 16.3640)
Luminance0.0490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1472 #1A7214
analogous
#3D1472 #6C1472 #721449
triadic
#6C1472 #726C14 #14726C
tetradic
#6C1472 #723D14 #1A7214 #144972
square
#6C1472 #723D14 #1A7214 #144972
split-complementary
#6C1472 #497214 #14723D
monochromatic
#19051A #3B0B3E #6C1472 #9D1DA6 #CE27D9

Accessibility & contrast

On white

10.60
#6C1472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#6C1472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1472
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1472#FFFFFF#000000##FFFFFF
##6C14721.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c1472;
/* rgb */ color: rgb(108, 20, 114);
/* oklch */ color: oklch(38.8% 0.162 325.2);
Tailwind
colors: {
  custom: {
    50: '#9a5e9b',
    500: '#6c1472',
    950: '#000000',
  },
}
SCSS
$custom: #6c1472;
$custom-light: #9a5e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1472",
  "rgb": {
    "r": 108,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 296.17,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.38752,
    "c": 0.16182,
    "h": 325.2
  },
  "luminance": 0.04903
}

Semantic roles & 50–950 ramp

primary
#6C1472
secondary
#41A839
accent
#ED3B46
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1472

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

Preview Lab → · Contrast checker → · Palette generator →

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