#6A166A#6A166A

#6A166A is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.0% C 0.152 H 328.1°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#6A166A
RGBrgb(106, 22, 106)
HSLhsl(300, 66%, 25%)
HSVhsv(300, 79%, 42%)
CMYKcmyk(0%, 79.2%, 0%, 58.4%)
CIE-LABlab(25.80, 46.30, -29.05)
CIE-LCHlch(25.80, 54.65, 327.90°)
OKLaboklab(38.05% 0.1292 -0.0805)
OKLCHoklch(38.05% 0.152 328.1)
XYZxyz(8.8322, 4.6792, 14.0709)
Luminance0.0468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A166A #166A16
analogous
#40166A #6A166A #6A1640
triadic
#6A166A #6A6A16 #166A6A
tetradic
#6A166A #6A4016 #166A16 #16406A
square
#6A166A #6A4016 #166A16 #16406A
split-complementary
#6A166A #406A16 #166A40
monochromatic
#190519 #370B37 #6A166A #9D219D #CF2BCF

Accessibility & contrast

On white

10.85
#6A166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A166A
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A166A#FFFFFF#000000##FFFFFF
##6A166A1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a166a;
/* rgb */ color: rgb(106, 22, 106);
/* oklch */ color: oklch(38.0% 0.152 328.1);
Tailwind
colors: {
  custom: {
    50: '#985e95',
    500: '#6a166a',
    950: '#000000',
  },
}
SCSS
$custom: #6a166a;
$custom-light: #985e95;
$custom-dark: #000000;
JSON
{
  "hex": "#6a166a",
  "rgb": {
    "r": 106,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 300,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3805,
    "c": 0.15225,
    "h": 328.1
  },
  "luminance": 0.04679
}

Semantic roles & 50–950 ramp

primary
#6A166A
secondary
#3BA03B
accent
#E93F3F
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6A166A

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

Preview Lab → · Contrast checker → · Palette generator →

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