#6A1777#6A1777

#6A1777 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.0% C 0.162 H 321.8°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#6A1777
RGBrgb(106, 23, 119)
HSLhsl(292, 68%, 28%)
HSVhsv(292, 81%, 47%)
CMYKcmyk(10.9%, 80.7%, 0%, 53.3%)
CIE-LABlab(26.76, 48.37, -35.86)
CIE-LCHlch(26.76, 60.21, 323.45°)
OKLaboklab(39.01% 0.1274 -0.1004)
OKLCHoklch(39.01% 0.162 321.8)
XYZxyz(9.5797, 5.0094, 17.9115)
Luminance0.0501 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1777 #247717
analogous
#3A1777 #6A1777 #771754
triadic
#6A1777 #776A17 #17776A
tetradic
#6A1777 #773A17 #247717 #175477
square
#6A1777 #773A17 #247717 #175477
split-complementary
#6A1777 #547717 #17773A
monochromatic
#17051A #3C0D44 #6A1777 #9821AA #C131D7

Accessibility & contrast

On white

10.49
#6A1777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#6A1777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1777
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1777#FFFFFF#000000##FFFFFF
##6A17771.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397A
Deuteranopia (green-blind)
#254275
Tritanopia (blue-blind)
#6B2B47
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6a1777;
/* rgb */ color: rgb(106, 23, 119);
/* oklch */ color: oklch(39.0% 0.162 321.8);
Tailwind
colors: {
  custom: {
    50: '#985f9f',
    500: '#6a1777',
    950: '#000000',
  },
}
SCSS
$custom: #6a1777;
$custom-light: #985f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1777",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 291.875,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39005,
    "c": 0.16224,
    "h": 321.8
  },
  "luminance": 0.05009
}

Semantic roles & 50–950 ramp

primary
#6A1777
secondary
#4DAC3E
accent
#EA3D55
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6A1777

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

Preview Lab → · Contrast checker → · Palette generator →

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