#6C1159#6C1159

#6C1159 is a dark, vivid pink. Relative luminance 0.043; OKLCH L 37.0% C 0.145 H 338.5°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#6C1159
RGBrgb(108, 17, 89)
HSLhsl(313, 73%, 25%)
HSVhsv(313, 84%, 42%)
CMYKcmyk(0%, 84.3%, 17.6%, 57.6%)
CIE-LABlab(24.67, 45.51, -19.65)
CIE-LCHlch(24.67, 49.57, 336.64°)
OKLaboklab(37% 0.1352 -0.0534)
OKLCHoklch(37% 0.145 338.5)
XYZxyz(8.1882, 4.3111, 9.8502)
Luminance0.0431 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1159 #116C24
analogous
#51116C #6C1159 #6C112C
triadic
#6C1159 #596C11 #11596C
tetradic
#6C1159 #6C5111 #116C24 #112C6C
square
#6C1159 #6C5111 #116C24 #112C6C
split-complementary
#6C1159 #2C6C11 #116C51
monochromatic
#1A0416 #37092D #6C1159 #A11985 #D622B0

Accessibility & contrast

On white

11.28
#6C1159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1159
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1159#FFFFFF#000000##FFFFFF
##6C11591.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16325B
Deuteranopia (green-blind)
#364057
Tritanopia (blue-blind)
#731634
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6c1159;
/* rgb */ color: rgb(108, 17, 89);
/* oklch */ color: oklch(37.0% 0.145 338.5);
Tailwind
colors: {
  custom: {
    50: '#9a5c88',
    500: '#6c1159',
    950: '#000000',
  },
}
SCSS
$custom: #6c1159;
$custom-light: #9a5c88;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1159",
  "rgb": {
    "r": 108,
    "g": 17,
    "b": 89
  },
  "hsl": {
    "h": 312.527,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.37,
    "c": 0.14532,
    "h": 338.5
  },
  "luminance": 0.0431
}

Semantic roles & 50–950 ramp

primary
#6C1159
secondary
#35A44C
accent
#EF5F38
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0E050B
muted
#7E797C

Preview Lab

Preview with #6C1159

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

Preview Lab → · Contrast checker → · Palette generator →

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