#6A4A71#6A4A71

#6A4A71 is a mid, moderate purple. Relative luminance 0.092; OKLCH L 45.9% C 0.073 H 320.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#6A4A71
RGBrgb(106, 74, 113)
HSLhsl(289, 21%, 37%)
HSVhsv(289, 35%, 44%)
CMYKcmyk(6.2%, 34.5%, 0%, 55.7%)
CIE-LABlab(36.28, 21.04, -17.11)
CIE-LCHlch(36.28, 27.12, 320.89°)
OKLaboklab(45.91% 0.0561 -0.0467)
OKLCHoklch(45.91% 0.073 320.2)
XYZxyz(11.3729, 9.1543, 16.7874)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4A71 #51714A
analogous
#574A71 #6A4A71 #714A65
triadic
#6A4A71 #716A4A #4A716A
tetradic
#6A4A71 #71574A #51714A #4A6571
square
#6A4A71 #71574A #51714A #4A6571
split-complementary
#6A4A71 #65714A #4A7157
monochromatic
#251A27 #47324C #6A4A71 #8D6296 #A886B0

Accessibility & contrast

On white

7.42
#6A4A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6A4A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A4A71
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4A71#FFFFFF#000000##FFFFFF
##6A4A711.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455373
Deuteranopia (green-blind)
#4D5770
Tritanopia (blue-blind)
#6B4E58
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6a4a71;
/* rgb */ color: rgb(106, 74, 113);
/* oklch */ color: oklch(45.9% 0.073 320.2);
Tailwind
colors: {
  custom: {
    50: '#957d9a',
    500: '#6a4a71',
    950: '#000000',
  },
}
SCSS
$custom: #6a4a71;
$custom-light: #957d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4a71",
  "rgb": {
    "r": 106,
    "g": 74,
    "b": 113
  },
  "hsl": {
    "h": 289.231,
    "s": 20.856,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45906,
    "c": 0.07299,
    "h": 320.2
  },
  "luminance": 0.09154
}

Semantic roles & 50–950 ramp

primary
#6A4A71
secondary
#819C7B
accent
#BD6A79
background
#F9F7F9
surface
#F2EEF2
border
#CCC9CC
text
#0D090E
muted
#7E7B7E

Preview Lab

Preview with #6A4A71

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

Preview Lab → · Contrast checker → · Palette generator →

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