#6C2157#6C2157

#6C2157 is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.4% C 0.124 H 340.7°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#6C2157
RGBrgb(108, 33, 87)
HSLhsl(317, 53%, 28%)
HSVhsv(317, 69%, 42%)
CMYKcmyk(0%, 69.4%, 19.4%, 57.6%)
CIE-LABlab(26.63, 39.38, -15.29)
CIE-LCHlch(26.63, 42.24, 338.78°)
OKLaboklab(38.39% 0.1173 -0.0411)
OKLCHoklch(38.39% 0.124 340.7)
XYZxyz(8.4487, 4.9648, 9.5283)
Luminance0.0496 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2157 #216C36
analogous
#5B216C #6C2157 #6C2132
triadic
#6C2157 #576C21 #21576C
tetradic
#6C2157 #6C5B21 #216C36 #21326C
square
#6C2157 #6C5B21 #216C36 #21326C
split-complementary
#6C2157 #326C21 #216C5B
monochromatic
#170713 #3D1331 #6C2157 #9B2F7D #C542A1

Accessibility & contrast

On white

10.54
#6C2157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#6C2157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2157
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2157#FFFFFF#000000##FFFFFF
##6C21571.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263759
Deuteranopia (green-blind)
#3D4355
Tritanopia (blue-blind)
#732338
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6c2157;
/* rgb */ color: rgb(108, 33, 87);
/* oklch */ color: oklch(38.4% 0.124 340.7);
Tailwind
colors: {
  custom: {
    50: '#996286',
    500: '#6c2157',
    950: '#000000',
  },
}
SCSS
$custom: #6c2157;
$custom-light: #996286;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2157",
  "rgb": {
    "r": 108,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 316.8,
    "s": 53.191,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38388,
    "c": 0.12427,
    "h": 340.7
  },
  "luminance": 0.04964
}

Semantic roles & 50–950 ramp

primary
#6C2157
secondary
#49A061
accent
#DD744B
background
#F9F6F8
surface
#F2EBEF
border
#CCC6CA
text
#0E050B
muted
#7E7A7C

Preview Lab

Preview with #6C2157

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

Preview Lab → · Contrast checker → · Palette generator →

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