#6C156D#6C156D

#6C156D is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.5% C 0.157 H 327.6°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#6C156D
RGBrgb(108, 21, 109)
HSLhsl(299, 68%, 25%)
HSVhsv(299, 81%, 43%)
CMYKcmyk(0.9%, 80.7%, 0%, 57.3%)
CIE-LABlab(26.24, 47.60, -30.26)
CIE-LCHlch(26.24, 56.40, 327.55°)
OKLaboklab(38.5% 0.1323 -0.084)
OKLCHoklch(38.5% 0.157 327.6)
XYZxyz(9.2127, 4.8293, 14.9119)
Luminance0.0483 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C156D #166D15
analogous
#40156D #6C156D #6D1542
triadic
#6C156D #6D6C15 #156D6C
tetradic
#6C156D #6D4015 #166D15 #15426D
square
#6C156D #6D4015 #166D15 #15426D
split-complementary
#6C156D #426D15 #156D40
monochromatic
#19051A #390B3A #6C156D #9F1FA0 #D229D4

Accessibility & contrast

On white

10.68
#6C156D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C156D
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C156D#FFFFFF#000000##FFFFFF
##6C156D1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00376F
Deuteranopia (green-blind)
#2D426B
Tritanopia (blue-blind)
#6F2441
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6c156d;
/* rgb */ color: rgb(108, 21, 109);
/* oklch */ color: oklch(38.5% 0.157 327.6);
Tailwind
colors: {
  custom: {
    50: '#995e97',
    500: '#6c156d',
    950: '#000000',
  },
}
SCSS
$custom: #6c156d;
$custom-light: #995e97;
$custom-dark: #000000;
JSON
{
  "hex": "#6c156d",
  "rgb": {
    "r": 108,
    "g": 21,
    "b": 109
  },
  "hsl": {
    "h": 299.318,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.38495,
    "c": 0.15673,
    "h": 327.6
  },
  "luminance": 0.04829
}

Semantic roles & 50–950 ramp

primary
#6C156D
secondary
#3CA33A
accent
#EB3D3F
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6C156D

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

Preview Lab → · Contrast checker → · Palette generator →

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