#6C1772#6C1772

#6C1772 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.159 H 325.1°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#6C1772
RGBrgb(108, 23, 114)
HSLhsl(296, 66%, 27%)
HSVhsv(296, 80%, 45%)
CMYKcmyk(5.3%, 79.8%, 0%, 55.3%)
CIE-LABlab(26.78, 47.86, -32.61)
CIE-LCHlch(26.78, 57.92, 325.73°)
OKLaboklab(38.98% 0.1303 -0.0909)
OKLCHoklch(38.98% 0.159 325.1)
XYZxyz(9.5278, 5.0165, 16.3828)
Luminance0.0502 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1772 #1D7217
analogous
#3F1772 #6C1772 #72174B
triadic
#6C1772 #726C17 #17726C
tetradic
#6C1772 #723F17 #1D7217 #174B72
square
#6C1772 #723F17 #1D7217 #174B72
split-complementary
#6C1772 #4B7217 #17723F
monochromatic
#180519 #3C0D3F #6C1772 #9C21A5 #CA2ED5

Accessibility & contrast

On white

10.48
#6C1772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#6C1772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1772
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1772#FFFFFF#000000##FFFFFF
##6C17721.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#2B4370
Tritanopia (blue-blind)
#6F2844
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6c1772;
/* rgb */ color: rgb(108, 23, 114);
/* oklch */ color: oklch(39.0% 0.159 325.1);
Tailwind
colors: {
  custom: {
    50: '#995f9b',
    500: '#6c1772',
    950: '#000000',
  },
}
SCSS
$custom: #6c1772;
$custom-light: #995f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1772",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 296.044,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.38981,
    "c": 0.15886,
    "h": 325.1
  },
  "luminance": 0.05016
}

Semantic roles & 50–950 ramp

primary
#6C1772
secondary
#44A83D
accent
#E93E4A
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1772

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

Preview Lab → · Contrast checker → · Palette generator →

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