#6A3C79#6A3C79

#6A3C79 is a dark, moderate purple. Relative luminance 0.077; OKLCH L 43.8% C 0.109 H 317.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#6A3C79
RGBrgb(106, 60, 121)
HSLhsl(285, 34%, 35%)
HSVhsv(285, 50%, 47%)
CMYKcmyk(12.4%, 50.4%, 0%, 52.5%)
CIE-LABlab(33.30, 31.24, -26.74)
CIE-LCHlch(33.30, 41.12, 319.44°)
OKLaboklab(43.79% 0.0806 -0.0741)
OKLCHoklch(43.79% 0.109 317.4)
XYZxyz(11.0104, 7.6767, 18.9872)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3C79 #4B793C
analogous
#4B3C79 #6A3C79 #793C69
triadic
#6A3C79 #796A3C #3C796A
tetradic
#6A3C79 #794B3C #4B793C #3C6979
square
#6A3C79 #794B3C #4B793C #3C6979
split-complementary
#6A3C79 #69793C #3C794B
monochromatic
#221327 #462850 #6A3C79 #8E50A2 #A975BB

Accessibility & contrast

On white

8.28
#6A3C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6A3C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3C79
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3C79#FFFFFF#000000##FFFFFF
##6A3C791.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314B7B
Deuteranopia (green-blind)
#3E5077
Tritanopia (blue-blind)
#6A4555
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6a3c79;
/* rgb */ color: rgb(106, 60, 121);
/* oklch */ color: oklch(43.8% 0.109 317.4);
Tailwind
colors: {
  custom: {
    50: '#9673a0',
    500: '#6a3c79',
    950: '#000000',
  },
}
SCSS
$custom: #6a3c79;
$custom-light: #9673a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3c79",
  "rgb": {
    "r": 106,
    "g": 60,
    "b": 121
  },
  "hsl": {
    "h": 285.246,
    "s": 33.702,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43792,
    "c": 0.10947,
    "h": 317.4
  },
  "luminance": 0.07676
}

Semantic roles & 50–950 ramp

primary
#6A3C79
secondary
#7AA46C
accent
#CA5E79
background
#F9F7F9
surface
#F2EDF2
border
#CCC8CC
text
#0D080E
muted
#7E7B7E

Preview Lab

Preview with #6A3C79

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

Preview Lab → · Contrast checker → · Palette generator →

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