#6C156F#6C156F

#6C156F is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.6% C 0.158 H 326.6°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#6C156F
RGBrgb(108, 21, 111)
HSLhsl(298, 68%, 26%)
HSVhsv(298, 81%, 44%)
CMYKcmyk(2.7%, 81.1%, 0%, 56.5%)
CIE-LABlab(26.37, 47.95, -31.35)
CIE-LCHlch(26.37, 57.29, 326.83°)
OKLaboklab(38.63% 0.1322 -0.0872)
OKLCHoklch(38.63% 0.158 326.6)
XYZxyz(9.3216, 4.8728, 15.4854)
Luminance0.0487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C156F #186F15
analogous
#3F156F #6C156F #6F1545
triadic
#6C156F #6F6C15 #156F6C
tetradic
#6C156F #6F3F15 #186F15 #15456F
square
#6C156F #6F3F15 #186F15 #15456F
split-complementary
#6C156F #456F15 #156F3F
monochromatic
#19051A #3A0B3C #6C156F #9E1FA2 #D028D6

Accessibility & contrast

On white

10.64
#6C156F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#6C156F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C156F
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C156F#FFFFFF#000000##FFFFFF
##6C156F1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#2C426D
Tritanopia (blue-blind)
#6F2542
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6c156f;
/* rgb */ color: rgb(108, 21, 111);
/* oklch */ color: oklch(38.6% 0.158 326.6);
Tailwind
colors: {
  custom: {
    50: '#995e99',
    500: '#6c156f',
    950: '#000000',
  },
}
SCSS
$custom: #6c156f;
$custom-light: #995e99;
$custom-dark: #000000;
JSON
{
  "hex": "#6c156f",
  "rgb": {
    "r": 108,
    "g": 21,
    "b": 111
  },
  "hsl": {
    "h": 298,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38626,
    "c": 0.15838,
    "h": 326.6
  },
  "luminance": 0.04872
}

Semantic roles & 50–950 ramp

primary
#6C156F
secondary
#3EA53A
accent
#EB3D43
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C156F

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

Preview Lab → · Contrast checker → · Palette generator →

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