#6C4E71#6C4E71

#6C4E71 is a mid, moderate purple. Relative luminance 0.098; OKLCH L 46.9% C 0.066 H 321.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#6C4E71
RGBrgb(108, 78, 113)
HSLhsl(291, 18%, 37%)
HSVhsv(291, 31%, 44%)
CMYKcmyk(4.4%, 31%, 0%, 55.7%)
CIE-LABlab(37.53, 19.30, -15.16)
CIE-LCHlch(37.53, 24.55, 321.85°)
OKLaboklab(46.91% 0.052 -0.0412)
OKLCHoklch(46.91% 0.066 321.6)
XYZxyz(11.8890, 9.8295, 16.8906)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4E71 #53714E
analogous
#5B4E71 #6C4E71 #714E64
triadic
#6C4E71 #716C4E #4E716C
tetradic
#6C4E71 #715B4E #53714E #4E6471
square
#6C4E71 #715B4E #53714E #4E6471
split-complementary
#6C4E71 #64714E #4E715B
monochromatic
#271C29 #49354D #6C4E71 #8F6795 #AA8BAF

Accessibility & contrast

On white

7.08
#6C4E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6C4E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C4E71
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4E71#FFFFFF#000000##FFFFFF
##6C4E711.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5672
Deuteranopia (green-blind)
#515970
Tritanopia (blue-blind)
#6D525B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6c4e71;
/* rgb */ color: rgb(108, 78, 113);
/* oklch */ color: oklch(46.9% 0.066 321.6);
Tailwind
colors: {
  custom: {
    50: '#96809a',
    500: '#6c4e71',
    950: '#000000',
  },
}
SCSS
$custom: #6c4e71;
$custom-light: #96809a;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4e71",
  "rgb": {
    "r": 108,
    "g": 78,
    "b": 113
  },
  "hsl": {
    "h": 291.429,
    "s": 18.325,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46913,
    "c": 0.06633,
    "h": 321.6
  },
  "luminance": 0.09829
}

Semantic roles & 50–950 ramp

primary
#6C4E71
secondary
#839C7F
accent
#BB6D78
background
#F9F7F9
surface
#F2EEF2
border
#CCC9CC
text
#0D0A0E
muted
#7E7C7E

Preview Lab

Preview with #6C4E71

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

Preview Lab → · Contrast checker → · Palette generator →

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