#6C1174#6C1174

#6C1174 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.7% C 0.166 H 324.4°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#6C1174
RGBrgb(108, 17, 116)
HSLhsl(295, 74%, 26%)
HSVhsv(295, 85%, 45%)
CMYKcmyk(6.9%, 85.3%, 0%, 54.5%)
CIE-LABlab(26.30, 49.99, -34.66)
CIE-LCHlch(26.30, 60.83, 325.27°)
OKLaboklab(38.69% 0.135 -0.0968)
OKLCHoklch(38.69% 0.166 324.4)
XYZxyz(9.5369, 4.8506, 16.9536)
Luminance0.0485 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1174 #197411
analogous
#3A1174 #6C1174 #74114A
triadic
#6C1174 #746C11 #11746C
tetradic
#6C1174 #743A11 #197411 #114A74
square
#6C1174 #743A11 #197411 #114A74
split-complementary
#6C1174 #4A7411 #11743A
monochromatic
#19041B #3A093F #6C1174 #9E19A9 #CF21DE

Accessibility & contrast

On white

10.66
#6C1174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#6C1174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1174
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1174#FFFFFF#000000##FFFFFF
##6C11741.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#274272
Tritanopia (blue-blind)
#6E2644
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6c1174;
/* rgb */ color: rgb(108, 17, 116);
/* oklch */ color: oklch(38.7% 0.166 324.4);
Tailwind
colors: {
  custom: {
    50: '#9a5d9c',
    500: '#6c1174',
    950: '#000000',
  },
}
SCSS
$custom: #6c1174;
$custom-light: #9a5d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1174",
  "rgb": {
    "r": 108,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 295.152,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38686,
    "c": 0.16611,
    "h": 324.4
  },
  "luminance": 0.0485
}

Semantic roles & 50–950 ramp

primary
#6C1174
secondary
#3FAB36
accent
#F13746
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1174

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

Preview Lab → · Contrast checker → · Palette generator →

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