#6A176D#6A176D

#6A176D is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.3% C 0.154 H 326.5°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#6A176D
RGBrgb(106, 23, 109)
HSLhsl(298, 65%, 26%)
HSVhsv(298, 79%, 43%)
CMYKcmyk(2.8%, 78.9%, 0%, 57.3%)
CIE-LABlab(26.10, 46.50, -30.50)
CIE-LCHlch(26.10, 55.61, 326.74°)
OKLaboklab(38.33% 0.1282 -0.0848)
OKLCHoklch(38.33% 0.154 326.5)
XYZxyz(9.0104, 4.7817, 14.9134)
Luminance0.0478 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A176D #1A6D17
analogous
#3F176D #6A176D #6D1745
triadic
#6A176D #6D6A17 #176D6A
tetradic
#6A176D #6D3F17 #1A6D17 #17456D
square
#6A176D #6D3F17 #1A6D17 #17456D
split-complementary
#6A176D #456D17 #176D3F
monochromatic
#190519 #390C3A #6A176D #9B22A0 #CC2CD2

Accessibility & contrast

On white

10.74
#6A176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#6A176D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A176D
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A176D#FFFFFF#000000##FFFFFF
##6A176D1.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00376F
Deuteranopia (green-blind)
#2C416B
Tritanopia (blue-blind)
#6D2641
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6a176d;
/* rgb */ color: rgb(106, 23, 109);
/* oklch */ color: oklch(38.3% 0.154 326.5);
Tailwind
colors: {
  custom: {
    50: '#985f97',
    500: '#6a176d',
    950: '#000000',
  },
}
SCSS
$custom: #6a176d;
$custom-light: #985f97;
$custom-dark: #000000;
JSON
{
  "hex": "#6a176d",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 297.907,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38327,
    "c": 0.15368,
    "h": 326.5
  },
  "luminance": 0.04781
}

Semantic roles & 50–950 ramp

primary
#6A176D
secondary
#40A33D
accent
#E84046
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6A176D

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

Preview Lab → · Contrast checker → · Palette generator →

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