#6D156C#6D156C

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

Color values

HEX#6D156C
RGBrgb(109, 21, 108)
HSLhsl(301, 68%, 25%)
HSVhsv(301, 81%, 43%)
CMYKcmyk(0%, 80.7%, 0.9%, 57.3%)
CIE-LABlab(26.36, 47.64, -29.41)
CIE-LCHlch(26.36, 55.99, 328.31°)
OKLaboklab(38.6% 0.1335 -0.0815)
OKLCHoklch(38.6% 0.156 328.6)
XYZxyz(9.2815, 4.8710, 14.6358)
Luminance0.0487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D156C #156D16
analogous
#42156D #6D156C #6D1540
triadic
#6D156C #6C6D15 #156C6D
tetradic
#6D156C #6D4215 #156D16 #15406D
square
#6D156C #6D4215 #156D16 #15406D
split-complementary
#6D156C #406D15 #156D42
monochromatic
#1A0519 #3A0B39 #6D156C #A01F9F #D429D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D156C#FFFFFF#000000##FFFFFF
##6D156C1.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)
#02376E
Deuteranopia (green-blind)
#2F426A
Tritanopia (blue-blind)
#712340
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6d156c;
/* rgb */ color: rgb(109, 21, 108);
/* oklch */ color: oklch(38.6% 0.156 328.6);
Tailwind
colors: {
  custom: {
    50: '#9a5e96',
    500: '#6d156c',
    950: '#000000',
  },
}
SCSS
$custom: #6d156c;
$custom-light: #9a5e96;
$custom-dark: #000000;
JSON
{
  "hex": "#6d156c",
  "rgb": {
    "r": 109,
    "g": 21,
    "b": 108
  },
  "hsl": {
    "h": 300.682,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.38597,
    "c": 0.15642,
    "h": 328.6
  },
  "luminance": 0.0487
}

Semantic roles & 50–950 ramp

primary
#6D156C
secondary
#3AA33C
accent
#EB3F3D
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6D156C

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

Preview Lab → · Contrast checker → · Palette generator →

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