#6C1779#6C1779

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

Color values

HEX#6C1779
RGBrgb(108, 23, 121)
HSLhsl(292, 68%, 28%)
HSVhsv(292, 81%, 47%)
CMYKcmyk(10.7%, 81%, 0%, 52.5%)
CIE-LABlab(27.25, 49.17, -36.33)
CIE-LCHlch(27.25, 61.14, 323.54°)
OKLaboklab(39.46% 0.1297 -0.1017)
OKLCHoklch(39.46% 0.165 321.9)
XYZxyz(9.9416, 5.1820, 18.5620)
Luminance0.0518 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1779 #247917
analogous
#3B1779 #6C1779 #791755
triadic
#6C1779 #796C17 #17796C
tetradic
#6C1779 #793B17 #247917 #175579
square
#6C1779 #793B17 #247917 #175579
split-complementary
#6C1779 #557917 #17793B
monochromatic
#17051A #3E0D46 #6C1779 #9A21AC #C232D8

Accessibility & contrast

On white

10.31
#6C1779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1779
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1779#FFFFFF#000000##FFFFFF
##6C17791.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7C
Deuteranopia (green-blind)
#254377
Tritanopia (blue-blind)
#6D2B48
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6c1779;
/* rgb */ color: rgb(108, 23, 121);
/* oklch */ color: oklch(39.5% 0.165 321.9);
Tailwind
colors: {
  custom: {
    50: '#9a60a0',
    500: '#6c1779',
    950: '#000000',
  },
}
SCSS
$custom: #6c1779;
$custom-light: #9a60a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1779",
  "rgb": {
    "r": 108,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 292.041,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3946,
    "c": 0.16483,
    "h": 321.9
  },
  "luminance": 0.05181
}

Semantic roles & 50–950 ramp

primary
#6C1779
secondary
#4DAE3E
accent
#EB3D54
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #6C1779

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

Preview Lab → · Contrast checker → · Palette generator →

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