#6D1173#6D1173

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

Color values

HEX#6D1173
RGBrgb(109, 17, 115)
HSLhsl(296, 74%, 26%)
HSVhsv(296, 85%, 45%)
CMYKcmyk(5.2%, 85.2%, 0%, 54.9%)
CIE-LABlab(26.42, 50.02, -33.82)
CIE-LCHlch(26.42, 60.38, 325.93°)
OKLaboklab(38.78% 0.1363 -0.0943)
OKLCHoklch(38.78% 0.166 325.3)
XYZxyz(9.6014, 4.8906, 16.6546)
Luminance0.0489 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1173 #177311
analogous
#3C1173 #6D1173 #731148
triadic
#6D1173 #736D11 #11736D
tetradic
#6D1173 #733C11 #177311 #114873
square
#6D1173 #733C11 #177311 #114873
split-complementary
#6D1173 #487311 #11733C
monochromatic
#19041B #3A093E #6D1173 #A019A8 #D221DE

Accessibility & contrast

On white

10.62
#6D1173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#6D1173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1173
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1173#FFFFFF#000000##FFFFFF
##6D11731.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#294271
Tritanopia (blue-blind)
#702543
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6d1173;
/* rgb */ color: rgb(109, 17, 115);
/* oklch */ color: oklch(38.8% 0.166 325.3);
Tailwind
colors: {
  custom: {
    50: '#9a5d9c',
    500: '#6d1173',
    950: '#000000',
  },
}
SCSS
$custom: #6d1173;
$custom-light: #9a5d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1173",
  "rgb": {
    "r": 109,
    "g": 17,
    "b": 115
  },
  "hsl": {
    "h": 296.327,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38781,
    "c": 0.16573,
    "h": 325.3
  },
  "luminance": 0.0489
}

Semantic roles & 50–950 ramp

primary
#6D1173
secondary
#3DAA36
accent
#F13742
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6D1173

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

Preview Lab → · Contrast checker → · Palette generator →

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