#6C1156#6C1156

#6C1156 is a dark, vivid pink. Relative luminance 0.043; OKLCH L 36.8% C 0.143 H 340.3°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#6C1156
RGBrgb(108, 17, 86)
HSLhsl(315, 73%, 25%)
HSVhsv(315, 84%, 42%)
CMYKcmyk(0%, 84.3%, 20.4%, 57.6%)
CIE-LABlab(24.52, 45.06, -17.90)
CIE-LCHlch(24.52, 48.49, 338.33°)
OKLaboklab(36.84% 0.1348 -0.0484)
OKLCHoklch(36.84% 0.143 340.3)
XYZxyz(8.0648, 4.2618, 9.2002)
Luminance0.0426 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1156 #116C27
analogous
#54116C #6C1156 #6C1129
triadic
#6C1156 #566C11 #11566C
tetradic
#6C1156 #6C5411 #116C27 #11296C
square
#6C1156 #6C5411 #116C27 #11296C
split-complementary
#6C1156 #296C11 #116C54
monochromatic
#1A0415 #37092C #6C1156 #A11980 #D622AA

Accessibility & contrast

On white

11.34
#6C1156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#6C1156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1156
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1156#FFFFFF#000000##FFFFFF
##6C11561.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193158
Deuteranopia (green-blind)
#373F54
Tritanopia (blue-blind)
#731433
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #6c1156;
/* rgb */ color: rgb(108, 17, 86);
/* oklch */ color: oklch(36.8% 0.143 340.3);
Tailwind
colors: {
  custom: {
    50: '#9a5c86',
    500: '#6c1156',
    950: '#000000',
  },
}
SCSS
$custom: #6c1156;
$custom-light: #9a5c86;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1156",
  "rgb": {
    "r": 108,
    "g": 17,
    "b": 86
  },
  "hsl": {
    "h": 314.505,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.36837,
    "c": 0.14323,
    "h": 340.3
  },
  "luminance": 0.04261
}

Semantic roles & 50–950 ramp

primary
#6C1156
secondary
#35A450
accent
#EF6538
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0E040B
muted
#7E797C

Preview Lab

Preview with #6C1156

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

Preview Lab → · Contrast checker → · Palette generator →

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