#6A1676#6A1676

#6A1676 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.9% C 0.162 H 322.3°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#6A1676
RGBrgb(106, 22, 118)
HSLhsl(293, 69%, 27%)
HSVhsv(293, 81%, 46%)
CMYKcmyk(10.2%, 81.4%, 0%, 53.7%)
CIE-LABlab(26.58, 48.50, -35.51)
CIE-LCHlch(26.58, 60.11, 323.79°)
OKLaboklab(38.86% 0.1284 -0.0994)
OKLCHoklch(38.86% 0.162 322.3)
XYZxyz(9.5004, 4.9466, 17.5904)
Luminance0.0495 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1676 #227616
analogous
#3A1676 #6A1676 #761652
triadic
#6A1676 #766A16 #16766A
tetradic
#6A1676 #763A16 #227616 #165276
square
#6A1676 #763A16 #227616 #165276
split-complementary
#6A1676 #527616 #16763A
monochromatic
#17051A #3C0C42 #6A1676 #9820AA #C32ED8

Accessibility & contrast

On white

10.56
#6A1676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#6A1676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1676
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1676#FFFFFF#000000##FFFFFF
##6A16761.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003979
Deuteranopia (green-blind)
#254274
Tritanopia (blue-blind)
#6B2A46
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6a1676;
/* rgb */ color: rgb(106, 22, 118);
/* oklch */ color: oklch(38.9% 0.162 322.3);
Tailwind
colors: {
  custom: {
    50: '#985f9e',
    500: '#6a1676',
    950: '#000000',
  },
}
SCSS
$custom: #6a1676;
$custom-light: #985f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1676",
  "rgb": {
    "r": 106,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 292.5,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38856,
    "c": 0.16238,
    "h": 322.3
  },
  "luminance": 0.04946
}

Semantic roles & 50–950 ramp

primary
#6A1676
secondary
#4AAC3C
accent
#EB3C52
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6A1676

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

Preview Lab → · Contrast checker → · Palette generator →

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