#6C1979#6C1979

#6C1979 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.163 H 321.8°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#6C1979
RGBrgb(108, 25, 121)
HSLhsl(292, 66%, 29%)
HSVhsv(292, 79%, 47%)
CMYKcmyk(10.7%, 79.3%, 0%, 52.5%)
CIE-LABlab(27.48, 48.51, -35.97)
CIE-LCHlch(27.48, 60.39, 323.45°)
OKLaboklab(39.62% 0.1279 -0.1007)
OKLCHoklch(39.62% 0.163 321.8)
XYZxyz(9.9828, 5.2645, 18.5758)
Luminance0.0526 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1979 #267919
analogous
#3C1979 #6C1979 #791956
triadic
#6C1979 #796C19 #19796C
tetradic
#6C1979 #793C19 #267919 #195679
square
#6C1979 #793C19 #267919 #195679
split-complementary
#6C1979 #567919 #19793C
monochromatic
#170519 #3F0F46 #6C1979 #9923AC #C037D6

Accessibility & contrast

On white

10.23
#6C1979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#6C1979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1979
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1979#FFFFFF#000000##FFFFFF
##6C19791.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7C
Deuteranopia (green-blind)
#274477
Tritanopia (blue-blind)
#6D2C48
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6c1979;
/* rgb */ color: rgb(108, 25, 121);
/* oklch */ color: oklch(39.6% 0.163 321.8);
Tailwind
colors: {
  custom: {
    50: '#9960a0',
    500: '#6c1979',
    950: '#000000',
  },
}
SCSS
$custom: #6c1979;
$custom-light: #9960a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1979",
  "rgb": {
    "r": 108,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 291.875,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39622,
    "c": 0.16279,
    "h": 321.8
  },
  "luminance": 0.05264
}

Semantic roles & 50–950 ramp

primary
#6C1979
secondary
#4FAE40
accent
#E93F56
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050F
muted
#7E7A7E

Preview Lab

Preview with #6C1979

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

Preview Lab → · Contrast checker → · Palette generator →

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