#6C1879#6C1879

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

Color values

HEX#6C1879
RGBrgb(108, 24, 121)
HSLhsl(292, 67%, 28%)
HSVhsv(292, 80%, 47%)
CMYKcmyk(10.7%, 80.2%, 0%, 52.5%)
CIE-LABlab(27.36, 48.85, -36.15)
CIE-LCHlch(27.36, 60.77, 323.49°)
OKLaboklab(39.54% 0.1288 -0.1012)
OKLCHoklch(39.54% 0.164 321.8)
XYZxyz(9.9618, 5.2225, 18.5688)
Luminance0.0522 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1879 #257918
analogous
#3B1879 #6C1879 #791855
triadic
#6C1879 #796C18 #18796C
tetradic
#6C1879 #793B18 #257918 #185579
square
#6C1879 #793B18 #257918 #185579
split-complementary
#6C1879 #557918 #18793B
monochromatic
#17051A #3E0E46 #6C1879 #9A22AC #C135D7

Accessibility & contrast

On white

10.27
#6C1879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1879
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1879#FFFFFF#000000##FFFFFF
##6C18791.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c1879;
/* rgb */ color: rgb(108, 24, 121);
/* oklch */ color: oklch(39.5% 0.164 321.8);
Tailwind
colors: {
  custom: {
    50: '#9a60a0',
    500: '#6c1879',
    950: '#000000',
  },
}
SCSS
$custom: #6c1879;
$custom-light: #9a60a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1879",
  "rgb": {
    "r": 108,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 291.959,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3954,
    "c": 0.16382,
    "h": 321.8
  },
  "luminance": 0.05222
}

Semantic roles & 50–950 ramp

primary
#6C1879
secondary
#4EAE3F
accent
#EA3E55
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050F
muted
#7E7A7E

Preview Lab

Preview with #6C1879

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

Preview Lab → · Contrast checker → · Palette generator →

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