#6A166B#6A166B

#6A166B is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.1% C 0.153 H 327.6°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#6A166B
RGBrgb(106, 22, 107)
HSLhsl(299, 66%, 25%)
HSVhsv(299, 79%, 42%)
CMYKcmyk(0.9%, 79.4%, 0%, 58%)
CIE-LABlab(25.86, 46.47, -29.59)
CIE-LCHlch(25.86, 55.10, 327.51°)
OKLaboklab(38.12% 0.1292 -0.0821)
OKLCHoklch(38.12% 0.153 327.6)
XYZxyz(8.8845, 4.7002, 14.3463)
Luminance0.0470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A166B #176B16
analogous
#3F166B #6A166B #6B1641
triadic
#6A166B #6B6A16 #166B6A
tetradic
#6A166B #6B3F16 #176B16 #16416B
square
#6A166B #6B3F16 #176B16 #16416B
split-complementary
#6A166B #416B16 #166B3F
monochromatic
#190519 #380C38 #6A166B #9C209E #CF2BD1

Accessibility & contrast

On white

10.82
#6A166B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A166B
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A166B#FFFFFF#000000##FFFFFF
##6A166B1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01366D
Deuteranopia (green-blind)
#2D4169
Tritanopia (blue-blind)
#6D2440
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6a166b;
/* rgb */ color: rgb(106, 22, 107);
/* oklch */ color: oklch(38.1% 0.153 327.6);
Tailwind
colors: {
  custom: {
    50: '#985e96',
    500: '#6a166b',
    950: '#000000',
  },
}
SCSS
$custom: #6a166b;
$custom-light: #985e96;
$custom-dark: #000000;
JSON
{
  "hex": "#6a166b",
  "rgb": {
    "r": 106,
    "g": 22,
    "b": 107
  },
  "hsl": {
    "h": 299.294,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.38115,
    "c": 0.15307,
    "h": 327.6
  },
  "luminance": 0.047
}

Semantic roles & 50–950 ramp

primary
#6A166B
secondary
#3DA13B
accent
#E93F41
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6A166B

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

Preview Lab → · Contrast checker → · Palette generator →

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