#6C166E#6C166E

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

Color values

HEX#6C166E
RGBrgb(108, 22, 110)
HSLhsl(299, 67%, 26%)
HSVhsv(299, 80%, 43%)
CMYKcmyk(1.8%, 80%, 0%, 56.9%)
CIE-LABlab(26.41, 47.46, -30.63)
CIE-LCHlch(26.41, 56.49, 327.16°)
OKLaboklab(38.64% 0.1314 -0.0851)
OKLCHoklch(38.64% 0.157 327.1)
XYZxyz(9.2856, 4.8884, 15.2033)
Luminance0.0489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C166E #186E16
analogous
#40166E #6C166E #6E1644
triadic
#6C166E #6E6C16 #166E6C
tetradic
#6C166E #6E4016 #186E16 #16446E
square
#6C166E #6E4016 #186E16 #16446E
split-complementary
#6C166E #446E16 #166E40
monochromatic
#19051A #3A0C3B #6C166E #9E20A1 #D02AD4

Accessibility & contrast

On white

10.62
#6C166E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#6C166E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C166E
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C166E#FFFFFF#000000##FFFFFF
##6C166E1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c166e;
/* rgb */ color: rgb(108, 22, 110);
/* oklch */ color: oklch(38.6% 0.157 327.1);
Tailwind
colors: {
  custom: {
    50: '#995f98',
    500: '#6c166e',
    950: '#000000',
  },
}
SCSS
$custom: #6c166e;
$custom-light: #995f98;
$custom-dark: #000000;
JSON
{
  "hex": "#6c166e",
  "rgb": {
    "r": 108,
    "g": 22,
    "b": 110
  },
  "hsl": {
    "h": 298.636,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38638,
    "c": 0.15655,
    "h": 327.1
  },
  "luminance": 0.04888
}

Semantic roles & 50–950 ramp

primary
#6C166E
secondary
#3EA43C
accent
#EA3E42
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6C166E

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

Preview Lab → · Contrast checker → · Palette generator →

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