#6C156B#6C156B

#6C156B is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.4% C 0.155 H 328.6°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#6C156B
RGBrgb(108, 21, 107)
HSLhsl(301, 67%, 25%)
HSVhsv(301, 81%, 42%)
CMYKcmyk(0%, 80.6%, 0.9%, 57.6%)
CIE-LABlab(26.12, 47.25, -29.17)
CIE-LCHlch(26.12, 55.52, 328.31°)
OKLaboklab(38.37% 0.1324 -0.0808)
OKLCHoklch(38.37% 0.155 328.6)
XYZxyz(9.1063, 4.7867, 14.3514)
Luminance0.0479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C156B #156C16
analogous
#42156C #6C156B #6C153F
triadic
#6C156B #6B6C15 #156B6C
tetradic
#6C156B #6C4215 #156C16 #153F6C
square
#6C156B #6C4215 #156C16 #153F6C
split-complementary
#6C156B #3F6C15 #156C42
monochromatic
#1A0519 #390B38 #6C156B #9F1F9E #D229D1

Accessibility & contrast

On white

10.73
#6C156B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#6C156B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C156B
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C156B#FFFFFF#000000##FFFFFF
##6C156B1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02376D
Deuteranopia (green-blind)
#2F4269
Tritanopia (blue-blind)
#702340
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6c156b;
/* rgb */ color: rgb(108, 21, 107);
/* oklch */ color: oklch(38.4% 0.155 328.6);
Tailwind
colors: {
  custom: {
    50: '#995e96',
    500: '#6c156b',
    950: '#000000',
  },
}
SCSS
$custom: #6c156b;
$custom-light: #995e96;
$custom-dark: #000000;
JSON
{
  "hex": "#6c156b",
  "rgb": {
    "r": 108,
    "g": 21,
    "b": 107
  },
  "hsl": {
    "h": 300.69,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.38367,
    "c": 0.15511,
    "h": 328.6
  },
  "luminance": 0.04786
}

Semantic roles & 50–950 ramp

primary
#6C156B
secondary
#3AA33B
accent
#EA3F3D
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6C156B

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

Preview Lab → · Contrast checker → · Palette generator →

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