#6C1157#6C1157

#6C1157 is a dark, vivid pink. Relative luminance 0.043; OKLCH L 36.9% C 0.144 H 339.7°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#6C1157
RGBrgb(108, 17, 87)
HSLhsl(314, 73%, 25%)
HSVhsv(314, 84%, 42%)
CMYKcmyk(0%, 84.3%, 19.4%, 57.6%)
CIE-LABlab(24.57, 45.21, -18.49)
CIE-LCHlch(24.57, 48.84, 337.76°)
OKLaboklab(36.89% 0.1349 -0.05)
OKLCHoklch(36.89% 0.144 339.7)
XYZxyz(8.1053, 4.2780, 9.4139)
Luminance0.0428 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1157 #116C26
analogous
#54116C #6C1157 #6C112A
triadic
#6C1157 #576C11 #11576C
tetradic
#6C1157 #6C5411 #116C26 #112A6C
square
#6C1157 #6C5411 #116C26 #112A6C
split-complementary
#6C1157 #2A6C11 #116C54
monochromatic
#1A0415 #37092C #6C1157 #A11982 #D622AC

Accessibility & contrast

On white

11.32
#6C1157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#6C1157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1157
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1157#FFFFFF#000000##FFFFFF
##6C11571.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183159
Deuteranopia (green-blind)
#373F55
Tritanopia (blue-blind)
#731533
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #6c1157;
/* rgb */ color: rgb(108, 17, 87);
/* oklch */ color: oklch(36.9% 0.144 339.7);
Tailwind
colors: {
  custom: {
    50: '#9a5c86',
    500: '#6c1157',
    950: '#000000',
  },
}
SCSS
$custom: #6c1157;
$custom-light: #9a5c86;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1157",
  "rgb": {
    "r": 108,
    "g": 17,
    "b": 87
  },
  "hsl": {
    "h": 313.846,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.36891,
    "c": 0.14392,
    "h": 339.7
  },
  "luminance": 0.04277
}

Semantic roles & 50–950 ramp

primary
#6C1157
secondary
#35A44F
accent
#EF6338
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0E040B
muted
#7E797C

Preview Lab

Preview with #6C1157

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

Preview Lab → · Contrast checker → · Palette generator →

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