#6D2174#6D2174

#6D2174 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.2% C 0.149 H 324.3°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#6D2174
RGBrgb(109, 33, 116)
HSLhsl(295, 56%, 29%)
HSVhsv(295, 72%, 45%)
CMYKcmyk(6%, 71.6%, 0%, 54.5%)
CIE-LABlab(28.38, 44.77, -31.33)
CIE-LCHlch(28.38, 54.64, 325.01°)
OKLaboklab(40.2% 0.1212 -0.0872)
OKLCHoklch(40.2% 0.149 324.3)
XYZxyz(10.0027, 5.6005, 17.0738)
Luminance0.0560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2174 #287421
analogous
#442174 #6D2174 #742152
triadic
#6D2174 #746D21 #21746D
tetradic
#6D2174 #744421 #287421 #215274
square
#6D2174 #744421 #287421 #215274
split-complementary
#6D2174 #527421 #217444
monochromatic
#160718 #401344 #6D2174 #9A2FA4 #BF45CA

Accessibility & contrast

On white

9.91
#6D2174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6D2174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2174
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2174#FFFFFF#000000##FFFFFF
##6D21741.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3D76
Deuteranopia (green-blind)
#304672
Tritanopia (blue-blind)
#6F2F48
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6d2174;
/* rgb */ color: rgb(109, 33, 116);
/* oklch */ color: oklch(40.2% 0.149 324.3);
Tailwind
colors: {
  custom: {
    50: '#9a649c',
    500: '#6d2174',
    950: '#000000',
  },
}
SCSS
$custom: #6d2174;
$custom-light: #9a649c;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2174",
  "rgb": {
    "r": 109,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 294.94,
    "s": 55.705,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40198,
    "c": 0.14931,
    "h": 324.3
  },
  "luminance": 0.056
}

Semantic roles & 50–950 ramp

primary
#6D2174
secondary
#51A749
accent
#DF4955
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6D2174

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

Preview Lab → · Contrast checker → · Palette generator →

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