#6D1174#6D1174

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

Color values

HEX#6D1174
RGBrgb(109, 17, 116)
HSLhsl(296, 74%, 26%)
HSVhsv(296, 85%, 45%)
CMYKcmyk(6%, 85.3%, 0%, 54.5%)
CIE-LABlab(26.49, 50.20, -34.35)
CIE-LCHlch(26.49, 60.83, 325.61°)
OKLaboklab(38.85% 0.1362 -0.0959)
OKLCHoklch(38.85% 0.167 324.8)
XYZxyz(9.6593, 4.9137, 16.9593)
Luminance0.0491 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1174 #187411
analogous
#3B1174 #6D1174 #741149
triadic
#6D1174 #746D11 #11746D
tetradic
#6D1174 #743B11 #187411 #114974
square
#6D1174 #743B11 #187411 #114974
split-complementary
#6D1174 #497411 #11743B
monochromatic
#19041B #3B093F #6D1174 #9F19A9 #D121DE

Accessibility & contrast

On white

10.59
#6D1174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D1174
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1174#FFFFFF#000000##FFFFFF
##6D11741.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#284272
Tritanopia (blue-blind)
#6F2644
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6d1174;
/* rgb */ color: rgb(109, 17, 116);
/* oklch */ color: oklch(38.9% 0.167 324.8);
Tailwind
colors: {
  custom: {
    50: '#9a5d9c',
    500: '#6d1174',
    950: '#000000',
  },
}
SCSS
$custom: #6d1174;
$custom-light: #9a5d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1174",
  "rgb": {
    "r": 109,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 295.758,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3885,
    "c": 0.16654,
    "h": 324.8
  },
  "luminance": 0.04913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D1174

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

Preview Lab → · Contrast checker → · Palette generator →

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