#6A176A#6A176A

#6A176A is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.1% C 0.151 H 328.0°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#6A176A
RGBrgb(106, 23, 106)
HSLhsl(300, 64%, 25%)
HSVhsv(300, 78%, 42%)
CMYKcmyk(0%, 78.3%, 0%, 58.4%)
CIE-LABlab(25.92, 45.96, -28.86)
CIE-LCHlch(25.92, 54.27, 327.87°)
OKLaboklab(38.13% 0.1283 -0.08)
OKLCHoklch(38.13% 0.151 328)
XYZxyz(8.8517, 4.7182, 14.0774)
Luminance0.0472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A176A #176A17
analogous
#40176A #6A176A #6A1740
triadic
#6A176A #6A6A17 #176A6A
tetradic
#6A176A #6A4017 #176A17 #17406A
square
#6A176A #6A4017 #176A17 #17406A
split-complementary
#6A176A #406A17 #176A40
monochromatic
#190519 #380C38 #6A176A #9C229C #CF2DCF

Accessibility & contrast

On white

10.80
#6A176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#6A176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A176A
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A176A#FFFFFF#000000##FFFFFF
##6A176A1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05366C
Deuteranopia (green-blind)
#2E4168
Tritanopia (blue-blind)
#6E243F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6a176a;
/* rgb */ color: rgb(106, 23, 106);
/* oklch */ color: oklch(38.1% 0.151 328.0);
Tailwind
colors: {
  custom: {
    50: '#985e95',
    500: '#6a176a',
    950: '#000000',
  },
}
SCSS
$custom: #6a176a;
$custom-light: #985e95;
$custom-dark: #000000;
JSON
{
  "hex": "#6a176a",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 300,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.38133,
    "c": 0.15117,
    "h": 328
  },
  "luminance": 0.04718
}

Semantic roles & 50–950 ramp

primary
#6A176A
secondary
#3DA03D
accent
#E74040
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6A176A

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

Preview Lab → · Contrast checker → · Palette generator →

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