#6C1674#6C1674

#6C1674 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.162 H 324.2°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#6C1674
RGBrgb(108, 22, 116)
HSLhsl(295, 68%, 27%)
HSVhsv(295, 81%, 45%)
CMYKcmyk(6.9%, 81%, 0%, 54.5%)
CIE-LABlab(26.80, 48.55, -33.86)
CIE-LCHlch(26.80, 59.19, 325.11°)
OKLaboklab(39.04% 0.131 -0.0945)
OKLCHoklch(39.04% 0.162 324.2)
XYZxyz(9.6234, 5.0235, 16.9824)
Luminance0.0502 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1674 #1E7416
analogous
#3D1674 #6C1674 #74164D
triadic
#6C1674 #746C16 #16746C
tetradic
#6C1674 #743D16 #1E7416 #164D74
square
#6C1674 #743D16 #1E7416 #164D74
split-complementary
#6C1674 #4D7416 #16743D
monochromatic
#18051A #3C0C41 #6C1674 #9C20A7 #C92DD7

Accessibility & contrast

On white

10.48
#6C1674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#6C1674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1674
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1674#FFFFFF#000000##FFFFFF
##6C16741.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#294372
Tritanopia (blue-blind)
#6E2845
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6c1674;
/* rgb */ color: rgb(108, 22, 116);
/* oklch */ color: oklch(39.0% 0.162 324.2);
Tailwind
colors: {
  custom: {
    50: '#995f9c',
    500: '#6c1674',
    950: '#000000',
  },
}
SCSS
$custom: #6c1674;
$custom-light: #995f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1674",
  "rgb": {
    "r": 108,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 294.894,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.39037,
    "c": 0.16157,
    "h": 324.2
  },
  "luminance": 0.05023
}

Semantic roles & 50–950 ramp

primary
#6C1674
secondary
#45AA3C
accent
#EB3D4C
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1674

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

Preview Lab → · Contrast checker → · Palette generator →

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