#6C1977#6C1977

#6C1977 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.161 H 322.7°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#6C1977
RGBrgb(108, 25, 119)
HSLhsl(293, 65%, 28%)
HSVhsv(293, 79%, 47%)
CMYKcmyk(9.2%, 79%, 0%, 53.3%)
CIE-LABlab(27.34, 48.13, -34.91)
CIE-LCHlch(27.34, 59.46, 324.05°)
OKLaboklab(39.48% 0.1281 -0.0976)
OKLCHoklch(39.48% 0.161 322.7)
XYZxyz(9.8614, 5.2159, 17.9365)
Luminance0.0522 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1977 #247719
analogous
#3D1977 #6C1977 #771953
triadic
#6C1977 #776C19 #19776C
tetradic
#6C1977 #773D19 #247719 #195377
square
#6C1977 #773D19 #247719 #195377
split-complementary
#6C1977 #537719 #19773D
monochromatic
#170519 #3E0E44 #6C1977 #9A24AA #C236D5

Accessibility & contrast

On white

10.28
#6C1977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#6C1977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1977
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1977#FFFFFF#000000##FFFFFF
##6C19771.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7A
Deuteranopia (green-blind)
#284475
Tritanopia (blue-blind)
#6E2B47
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6c1977;
/* rgb */ color: rgb(108, 25, 119);
/* oklch */ color: oklch(39.5% 0.161 322.7);
Tailwind
colors: {
  custom: {
    50: '#99609f',
    500: '#6c1977',
    950: '#000000',
  },
}
SCSS
$custom: #6c1977;
$custom-light: #99609f;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1977",
  "rgb": {
    "r": 108,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 292.979,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39484,
    "c": 0.16104,
    "h": 322.7
  },
  "luminance": 0.05215
}

Semantic roles & 50–950 ramp

primary
#6C1977
secondary
#4DAC40
accent
#E84053
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #6C1977

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

Preview Lab → · Contrast checker → · Palette generator →

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