#6A176F#6A176F

#6A176F is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.5% C 0.155 H 325.5°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#6A176F
RGBrgb(106, 23, 111)
HSLhsl(297, 66%, 26%)
HSVhsv(297, 79%, 44%)
CMYKcmyk(4.5%, 79.3%, 0%, 56.5%)
CIE-LABlab(26.23, 46.87, -31.59)
CIE-LCHlch(26.23, 56.52, 326.02°)
OKLaboklab(38.46% 0.1281 -0.0879)
OKLCHoklch(38.46% 0.155 325.5)
XYZxyz(9.1193, 4.8253, 15.4869)
Luminance0.0483 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A176F #1C6F17
analogous
#3E176F #6A176F #6F1748
triadic
#6A176F #6F6A17 #176F6A
tetradic
#6A176F #6F3E17 #1C6F17 #17486F
square
#6A176F #6F3E17 #1C6F17 #17486F
split-complementary
#6A176F #486F17 #176F3E
monochromatic
#180519 #3A0C3C #6A176F #9A22A2 #CA2DD3

Accessibility & contrast

On white

10.69
#6A176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#6A176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A176F
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A176F#FFFFFF#000000##FFFFFF
##6A176F1.0010.691.9710.69
#FFFFFF10.691.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#2B426D
Tritanopia (blue-blind)
#6D2742
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6a176f;
/* rgb */ color: rgb(106, 23, 111);
/* oklch */ color: oklch(38.5% 0.155 325.5);
Tailwind
colors: {
  custom: {
    50: '#985f99',
    500: '#6a176f',
    950: '#000000',
  },
}
SCSS
$custom: #6a176f;
$custom-light: #985f99;
$custom-dark: #000000;
JSON
{
  "hex": "#6a176f",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 296.591,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.38458,
    "c": 0.15537,
    "h": 325.5
  },
  "luminance": 0.04825
}

Semantic roles & 50–950 ramp

primary
#6A176F
secondary
#43A53D
accent
#E93F49
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6A176F

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

Preview Lab → · Contrast checker → · Palette generator →

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