#6A166D#6A166D

#6A166D is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.2% C 0.155 H 326.5°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#6A166D
RGBrgb(106, 22, 109)
HSLhsl(298, 66%, 26%)
HSVhsv(298, 80%, 43%)
CMYKcmyk(2.8%, 79.8%, 0%, 57.3%)
CIE-LABlab(25.99, 46.83, -30.69)
CIE-LCHlch(25.99, 55.99, 326.77°)
OKLaboklab(38.25% 0.1291 -0.0853)
OKLCHoklch(38.25% 0.155 326.5)
XYZxyz(8.9909, 4.7427, 14.9069)
Luminance0.0474 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A166D #196D16
analogous
#3E166D #6A166D #6D1644
triadic
#6A166D #6D6A16 #166D6A
tetradic
#6A166D #6D3E16 #196D16 #16446D
square
#6A166D #6D3E16 #196D16 #16446D
split-complementary
#6A166D #446D16 #166D3E
monochromatic
#190519 #380C3A #6A166D #9C20A0 #CD2BD3

Accessibility & contrast

On white

10.78
#6A166D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#6A166D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A166D
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A166D#FFFFFF#000000##FFFFFF
##6A166D1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00376F
Deuteranopia (green-blind)
#2C416B
Tritanopia (blue-blind)
#6D2541
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6a166d;
/* rgb */ color: rgb(106, 22, 109);
/* oklch */ color: oklch(38.2% 0.155 326.5);
Tailwind
colors: {
  custom: {
    50: '#985e97',
    500: '#6a166d',
    950: '#000000',
  },
}
SCSS
$custom: #6a166d;
$custom-light: #985e97;
$custom-dark: #000000;
JSON
{
  "hex": "#6a166d",
  "rgb": {
    "r": 106,
    "g": 22,
    "b": 109
  },
  "hsl": {
    "h": 297.931,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.38245,
    "c": 0.15474,
    "h": 326.5
  },
  "luminance": 0.04742
}

Semantic roles & 50–950 ramp

primary
#6A166D
secondary
#3FA33C
accent
#E93E44
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6A166D

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

Preview Lab → · Contrast checker → · Palette generator →

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