#6D156A#6D156A

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

Color values

HEX#6D156A
RGBrgb(109, 21, 106)
HSLhsl(302, 68%, 25%)
HSVhsv(302, 81%, 43%)
CMYKcmyk(0%, 80.7%, 2.8%, 57.3%)
CIE-LABlab(26.24, 47.30, -28.31)
CIE-LCHlch(26.24, 55.12, 329.10°)
OKLaboklab(38.47% 0.1336 -0.0783)
OKLCHoklch(38.47% 0.155 329.6)
XYZxyz(9.1763, 4.8289, 14.0816)
Luminance0.0483 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D156A #156D18
analogous
#44156D #6D156A #6D153E
triadic
#6D156A #6A6D15 #156A6D
tetradic
#6D156A #6D4415 #156D18 #153E6D
square
#6D156A #6D4415 #156D18 #153E6D
split-complementary
#6D156A #3E6D15 #156D44
monochromatic
#1A0519 #3A0B38 #6D156A #A01F9C #D429CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D156A#FFFFFF#000000##FFFFFF
##6D156A1.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)
#05376C
Deuteranopia (green-blind)
#304268
Tritanopia (blue-blind)
#71223F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6d156a;
/* rgb */ color: rgb(109, 21, 106);
/* oklch */ color: oklch(38.5% 0.155 329.6);
Tailwind
colors: {
  custom: {
    50: '#9a5e95',
    500: '#6d156a',
    950: '#000000',
  },
}
SCSS
$custom: #6d156a;
$custom-light: #9a5e95;
$custom-dark: #000000;
JSON
{
  "hex": "#6d156a",
  "rgb": {
    "r": 109,
    "g": 21,
    "b": 106
  },
  "hsl": {
    "h": 302.045,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3847,
    "c": 0.15481,
    "h": 329.6
  },
  "luminance": 0.04828
}

Semantic roles & 50–950 ramp

primary
#6D156A
secondary
#3AA33E
accent
#EB433D
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6D156A

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

Preview Lab → · Contrast checker → · Palette generator →

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