#6C1173#6C1173

#6C1173 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.6% C 0.165 H 324.8°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#6C1173
RGBrgb(108, 17, 115)
HSLhsl(296, 74%, 26%)
HSVhsv(296, 85%, 45%)
CMYKcmyk(6.1%, 85.2%, 0%, 54.9%)
CIE-LABlab(26.24, 49.81, -34.12)
CIE-LCHlch(26.24, 60.38, 325.59°)
OKLaboklab(38.62% 0.1351 -0.0952)
OKLCHoklch(38.62% 0.165 324.8)
XYZxyz(9.4791, 4.8275, 16.6489)
Luminance0.0483 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1173 #187311
analogous
#3B1173 #6C1173 #731149
triadic
#6C1173 #736C11 #11736C
tetradic
#6C1173 #733B11 #187311 #114973
square
#6C1173 #733B11 #187311 #114973
split-complementary
#6C1173 #497311 #11733B
monochromatic
#19041B #3A093E #6C1173 #9E19A8 #D021DE

Accessibility & contrast

On white

10.68
#6C1173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C1173
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1173#FFFFFF#000000##FFFFFF
##6C11731.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#284271
Tritanopia (blue-blind)
#6E2543
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6c1173;
/* rgb */ color: rgb(108, 17, 115);
/* oklch */ color: oklch(38.6% 0.165 324.8);
Tailwind
colors: {
  custom: {
    50: '#9a5d9c',
    500: '#6c1173',
    950: '#000000',
  },
}
SCSS
$custom: #6c1173;
$custom-light: #9a5d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1173",
  "rgb": {
    "r": 108,
    "g": 17,
    "b": 115
  },
  "hsl": {
    "h": 295.714,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38617,
    "c": 0.1653,
    "h": 324.8
  },
  "luminance": 0.04827
}

Semantic roles & 50–950 ramp

primary
#6C1173
secondary
#3EAA36
accent
#F13744
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6C1173

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

Preview Lab → · Contrast checker → · Palette generator →

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