#6A166F#6A166F

#6A166F is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.4% C 0.156 H 325.6°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#6A166F
RGBrgb(106, 22, 111)
HSLhsl(297, 67%, 26%)
HSVhsv(297, 80%, 44%)
CMYKcmyk(4.5%, 80.2%, 0%, 56.5%)
CIE-LABlab(26.12, 47.20, -31.77)
CIE-LCHlch(26.12, 56.89, 326.05°)
OKLaboklab(38.38% 0.129 -0.0885)
OKLCHoklch(38.38% 0.156 325.6)
XYZxyz(9.0998, 4.7863, 15.4804)
Luminance0.0479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A166F #1B6F16
analogous
#3D166F #6A166F #6F1647
triadic
#6A166F #6F6A16 #166F6A
tetradic
#6A166F #6F3D16 #1B6F16 #16476F
square
#6A166F #6F3D16 #1B6F16 #16476F
split-complementary
#6A166F #476F16 #166F3D
monochromatic
#18051A #390C3C #6A166F #9B20A2 #CB2BD5

Accessibility & contrast

On white

10.73
#6A166F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A166F
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A166F#FFFFFF#000000##FFFFFF
##6A166F1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#2A416D
Tritanopia (blue-blind)
#6D2642
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6a166f;
/* rgb */ color: rgb(106, 22, 111);
/* oklch */ color: oklch(38.4% 0.156 325.6);
Tailwind
colors: {
  custom: {
    50: '#985e99',
    500: '#6a166f',
    950: '#000000',
  },
}
SCSS
$custom: #6a166f;
$custom-light: #985e99;
$custom-dark: #000000;
JSON
{
  "hex": "#6a166f",
  "rgb": {
    "r": 106,
    "g": 22,
    "b": 111
  },
  "hsl": {
    "h": 296.629,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38377,
    "c": 0.15642,
    "h": 325.6
  },
  "luminance": 0.04786
}

Semantic roles & 50–950 ramp

primary
#6A166F
secondary
#42A53C
accent
#EA3E48
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6A166F

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

Preview Lab → · Contrast checker → · Palette generator →

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