#6C156E#6C156E

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

Color values

HEX#6C156E
RGBrgb(108, 21, 110)
HSLhsl(299, 68%, 26%)
HSVhsv(299, 81%, 43%)
CMYKcmyk(1.8%, 80.9%, 0%, 56.9%)
CIE-LABlab(26.31, 47.77, -30.80)
CIE-LCHlch(26.31, 56.84, 327.19°)
OKLaboklab(38.56% 0.1323 -0.0856)
OKLCHoklch(38.56% 0.158 327.1)
XYZxyz(9.2668, 4.8509, 15.1971)
Luminance0.0485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C156E #176E15
analogous
#3F156E #6C156E #6E1543
triadic
#6C156E #6E6C15 #156E6C
tetradic
#6C156E #6E3F15 #176E15 #15436E
square
#6C156E #6E3F15 #176E15 #15436E
split-complementary
#6C156E #436E15 #156E3F
monochromatic
#19051A #3A0B3B #6C156E #9E1FA1 #D129D5

Accessibility & contrast

On white

10.66
#6C156E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C156E
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C156E#FFFFFF#000000##FFFFFF
##6C156E1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003770
Deuteranopia (green-blind)
#2D426C
Tritanopia (blue-blind)
#6F2541
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6c156e;
/* rgb */ color: rgb(108, 21, 110);
/* oklch */ color: oklch(38.6% 0.158 327.1);
Tailwind
colors: {
  custom: {
    50: '#995e98',
    500: '#6c156e',
    950: '#000000',
  },
}
SCSS
$custom: #6c156e;
$custom-light: #995e98;
$custom-dark: #000000;
JSON
{
  "hex": "#6c156e",
  "rgb": {
    "r": 108,
    "g": 21,
    "b": 110
  },
  "hsl": {
    "h": 298.652,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.38561,
    "c": 0.15756,
    "h": 327.1
  },
  "luminance": 0.0485
}

Semantic roles & 50–950 ramp

primary
#6C156E
secondary
#3DA43A
accent
#EB3D41
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6C156E

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

Preview Lab → · Contrast checker → · Palette generator →

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