#6A5072#6A5072

#6A5072 is a mid, moderate purple. Relative luminance 0.100; OKLCH L 47.1% C 0.062 H 318.1°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#6A5072
RGBrgb(106, 80, 114)
HSLhsl(286, 18%, 38%)
HSVhsv(286, 30%, 45%)
CMYKcmyk(7%, 29.8%, 0%, 55.3%)
CIE-LABlab(37.87, 17.57, -15.29)
CIE-LCHlch(37.87, 23.29, 318.98°)
OKLaboklab(47.13% 0.0464 -0.0416)
OKLCHoklch(47.13% 0.062 318.1)
XYZxyz(11.8494, 10.0166, 17.2255)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5072 #587250
analogous
#595072 #6A5072 #725069
triadic
#6A5072 #726A50 #50726A
tetradic
#6A5072 #725950 #587250 #506972
square
#6A5072 #725950 #587250 #506972
split-complementary
#6A5072 #697250 #507259
monochromatic
#271E2A #49374E #6A5072 #8B6996 #A78DAF

Accessibility & contrast

On white

6.99
#6A5072 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#6A5072 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5072
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5072#FFFFFF#000000##FFFFFF
##6A50721.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5773
Deuteranopia (green-blind)
#525A71
Tritanopia (blue-blind)
#6A545C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6a5072;
/* rgb */ color: rgb(106, 80, 114);
/* oklch */ color: oklch(47.1% 0.062 318.1);
Tailwind
colors: {
  custom: {
    50: '#95819a',
    500: '#6a5072',
    950: '#000000',
  },
}
SCSS
$custom: #6a5072;
$custom-light: #95819a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5072",
  "rgb": {
    "r": 106,
    "g": 80,
    "b": 114
  },
  "hsl": {
    "h": 285.882,
    "s": 17.526,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47132,
    "c": 0.06229,
    "h": 318.1
  },
  "luminance": 0.10016
}

Semantic roles & 50–950 ramp

primary
#6A5072
secondary
#889D81
accent
#BA6E80
background
#F9F7F9
surface
#F1EEF2
border
#CBC9CC
text
#0D0A0E
muted
#7E7C7E

Preview Lab

Preview with #6A5072

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

Preview Lab → · Contrast checker → · Palette generator →

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