#6A4E79#6A4E79

#6A4E79 is a mid, moderate violet. Relative luminance 0.099; OKLCH L 47.1% C 0.075 H 313.4°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#6A4E79
RGBrgb(106, 78, 121)
HSLhsl(279, 22%, 39%)
HSVhsv(279, 36%, 47%)
CMYKcmyk(12.4%, 35.5%, 0%, 52.5%)
CIE-LABlab(37.65, 20.41, -19.96)
CIE-LCHlch(37.65, 28.54, 315.64°)
OKLaboklab(47.06% 0.0517 -0.0548)
OKLCHoklch(47.06% 0.075 313.4)
XYZxyz(12.1189, 9.8936, 19.3567)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4E79 #5D794E
analogous
#554E79 #6A4E79 #794E73
triadic
#6A4E79 #796A4E #4E796A
tetradic
#6A4E79 #79554E #5D794E #4E7379
square
#6A4E79 #79554E #5D794E #4E7379
split-complementary
#6A4E79 #73794E #4E7955
monochromatic
#291E2F #493654 #6A4E79 #8A679D #A78CB5

Accessibility & contrast

On white

7.05
#6A4E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#6A4E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A4E79
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4E79#FFFFFF#000000##FFFFFF
##6A4E791.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47577B
Deuteranopia (green-blind)
#4D5978
Tritanopia (blue-blind)
#69545E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6a4e79;
/* rgb */ color: rgb(106, 78, 121);
/* oklch */ color: oklch(47.1% 0.075 313.4);
Tailwind
colors: {
  custom: {
    50: '#9580a0',
    500: '#6a4e79',
    950: '#000000',
  },
}
SCSS
$custom: #6a4e79;
$custom-light: #9580a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4e79",
  "rgb": {
    "r": 106,
    "g": 78,
    "b": 121
  },
  "hsl": {
    "h": 279.07,
    "s": 21.608,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47062,
    "c": 0.07536,
    "h": 313.4
  },
  "luminance": 0.09893
}

Semantic roles & 50–950 ramp

primary
#6A4E79
secondary
#8CA281
accent
#BE6A87
background
#F9F7F9
surface
#F2EEF2
border
#CCC9CC
text
#0D0A0E
muted
#7E7C7E

Preview Lab

Preview with #6A4E79

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

Preview Lab → · Contrast checker → · Palette generator →

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