#6A176C#6A176C

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

Color values

HEX#6A176C
RGBrgb(106, 23, 108)
HSLhsl(299, 65%, 26%)
HSVhsv(299, 79%, 42%)
CMYKcmyk(1.9%, 78.7%, 0%, 57.6%)
CIE-LABlab(26.04, 46.32, -29.96)
CIE-LCHlch(26.04, 55.17, 327.11°)
OKLaboklab(38.26% 0.1282 -0.0832)
OKLCHoklch(38.26% 0.153 327)
XYZxyz(8.9569, 4.7603, 14.6315)
Luminance0.0476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A176C #196C17
analogous
#3F176C #6A176C #6C1743
triadic
#6A176C #6C6A17 #176C6A
tetradic
#6A176C #6C3F17 #196C17 #17436C
square
#6A176C #6C3F17 #196C17 #17436C
split-complementary
#6A176C #436C17 #176C3F
monochromatic
#190519 #380C3A #6A176C #9C229E #CD2CD1

Accessibility & contrast

On white

10.76
#6A176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#6A176C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A176C
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A176C#FFFFFF#000000##FFFFFF
##6A176C1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01376E
Deuteranopia (green-blind)
#2D416A
Tritanopia (blue-blind)
#6D2541
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6a176c;
/* rgb */ color: rgb(106, 23, 108);
/* oklch */ color: oklch(38.3% 0.153 327.0);
Tailwind
colors: {
  custom: {
    50: '#985f96',
    500: '#6a176c',
    950: '#000000',
  },
}
SCSS
$custom: #6a176c;
$custom-light: #985f96;
$custom-dark: #000000;
JSON
{
  "hex": "#6a176c",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 108
  },
  "hsl": {
    "h": 298.588,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.38262,
    "c": 0.15284,
    "h": 327
  },
  "luminance": 0.0476
}

Semantic roles & 50–950 ramp

primary
#6A176C
secondary
#3FA23D
accent
#E84044
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6A176C

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

Preview Lab → · Contrast checker → · Palette generator →

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