#6A1666#6A1666

#6A1666 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.8% C 0.149 H 330.2°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#6A1666
RGBrgb(106, 22, 102)
HSLhsl(303, 66%, 25%)
HSVhsv(303, 79%, 42%)
CMYKcmyk(0%, 79.2%, 3.8%, 58.4%)
CIE-LABlab(25.56, 45.59, -26.83)
CIE-LCHlch(25.56, 52.90, 329.52°)
OKLaboklab(37.8% 0.1292 -0.0741)
OKLCHoklch(37.8% 0.149 330.2)
XYZxyz(8.6290, 4.5980, 13.0008)
Luminance0.0460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1666 #166A1A
analogous
#44166A #6A1666 #6A163C
triadic
#6A1666 #666A16 #16666A
tetradic
#6A1666 #6A4416 #166A1A #163C6A
square
#6A1666 #6A4416 #166A1A #163C6A
split-complementary
#6A1666 #3C6A16 #166A44
monochromatic
#190518 #370B35 #6A1666 #9D2197 #CF2BC8

Accessibility & contrast

On white

10.94
#6A1666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#6A1666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1666
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1666#FFFFFF#000000##FFFFFF
##6A16661.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3568
Deuteranopia (green-blind)
#304164
Tritanopia (blue-blind)
#6E223D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6a1666;
/* rgb */ color: rgb(106, 22, 102);
/* oklch */ color: oklch(37.8% 0.149 330.2);
Tailwind
colors: {
  custom: {
    50: '#985e92',
    500: '#6a1666',
    950: '#000000',
  },
}
SCSS
$custom: #6a1666;
$custom-light: #985e92;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1666",
  "rgb": {
    "r": 106,
    "g": 22,
    "b": 102
  },
  "hsl": {
    "h": 302.857,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.37798,
    "c": 0.14897,
    "h": 330.2
  },
  "luminance": 0.04597
}

Semantic roles & 50–950 ramp

primary
#6A1666
secondary
#3BA040
accent
#E9473F
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6A1666

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

Preview Lab → · Contrast checker → · Palette generator →

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