#6C1175#6C1175

#6C1175 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.167 H 323.9°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#6C1175
RGBrgb(108, 17, 117)
HSLhsl(295, 75%, 26%)
HSVhsv(295, 85%, 46%)
CMYKcmyk(7.7%, 85.5%, 0%, 54.1%)
CIE-LABlab(26.37, 50.17, -35.19)
CIE-LCHlch(26.37, 61.28, 324.96°)
OKLaboklab(38.76% 0.1349 -0.0984)
OKLCHoklch(38.76% 0.167 323.9)
XYZxyz(9.5954, 4.8740, 17.2616)
Luminance0.0487 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1175 #1A7511
analogous
#3A1175 #6C1175 #75114C
triadic
#6C1175 #756C11 #11756C
tetradic
#6C1175 #753A11 #1A7511 #114C75
square
#6C1175 #753A11 #1A7511 #114C75
split-complementary
#6C1175 #4C7511 #11753A
monochromatic
#19041B #3B0940 #6C1175 #9D19AA #CE22DF

Accessibility & contrast

On white

10.64
#6C1175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1175
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1175#FFFFFF#000000##FFFFFF
##6C11751.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c1175;
/* rgb */ color: rgb(108, 17, 117);
/* oklch */ color: oklch(38.8% 0.167 323.9);
Tailwind
colors: {
  custom: {
    50: '#9a5d9d',
    500: '#6c1175',
    950: '#000000',
  },
}
SCSS
$custom: #6c1175;
$custom-light: #9a5d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1175",
  "rgb": {
    "r": 108,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 294.6,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.38755,
    "c": 0.16693,
    "h": 323.9
  },
  "luminance": 0.04873
}

Semantic roles & 50–950 ramp

primary
#6C1175
secondary
#41AC36
accent
#F13747
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1175

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

Preview Lab → · Contrast checker → · Palette generator →

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