#6A177A#6A177A

#6A177A is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.165 H 320.4°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#6A177A
RGBrgb(106, 23, 122)
HSLhsl(290, 68%, 28%)
HSVhsv(290, 81%, 48%)
CMYKcmyk(13.1%, 81.1%, 0%, 52.2%)
CIE-LABlab(26.97, 48.95, -37.43)
CIE-LCHlch(26.97, 61.62, 322.59°)
OKLaboklab(39.22% 0.1271 -0.105)
OKLCHoklch(39.22% 0.165 320.4)
XYZxyz(9.7627, 5.0826, 18.8754)
Luminance0.0508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A177A #277A17
analogous
#38177A #6A177A #7A1758
triadic
#6A177A #7A6A17 #177A6A
tetradic
#6A177A #7A3817 #277A17 #17587A
square
#6A177A #7A3817 #277A17 #17587A
split-complementary
#6A177A #587A17 #177A38
monochromatic
#16051A #3D0D47 #6A177A #9721AD #BE33D9

Accessibility & contrast

On white

10.41
#6A177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#6A177A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A177A
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A177A#FFFFFF#000000##FFFFFF
##6A177A1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#224378
Tritanopia (blue-blind)
#6A2C49
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6a177a;
/* rgb */ color: rgb(106, 23, 122);
/* oklch */ color: oklch(39.2% 0.165 320.4);
Tailwind
colors: {
  custom: {
    50: '#985fa1',
    500: '#6a177a',
    950: '#000000',
  },
}
SCSS
$custom: #6a177a;
$custom-light: #985fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a177a",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 290.303,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39218,
    "c": 0.16486,
    "h": 320.4
  },
  "luminance": 0.05082
}

Semantic roles & 50–950 ramp

primary
#6A177A
secondary
#50AF3E
accent
#EB3D59
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6A177A

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

Preview Lab → · Contrast checker → · Palette generator →

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