#6A1668#6A1668

#6A1668 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.9% C 0.151 H 329.1°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#6A1668
RGBrgb(106, 22, 104)
HSLhsl(301, 66%, 25%)
HSVhsv(301, 79%, 42%)
CMYKcmyk(0%, 79.2%, 1.9%, 58.4%)
CIE-LABlab(25.68, 45.94, -27.94)
CIE-LCHlch(25.68, 53.77, 328.69°)
OKLaboklab(37.92% 0.1292 -0.0773)
OKLCHoklch(37.92% 0.151 329.1)
XYZxyz(8.7294, 4.6381, 13.5295)
Luminance0.0464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1668 #166A18
analogous
#42166A #6A1668 #6A163E
triadic
#6A1668 #686A16 #16686A
tetradic
#6A1668 #6A4216 #166A18 #163E6A
square
#6A1668 #6A4216 #166A18 #163E6A
split-complementary
#6A1668 #3E6A16 #166A42
monochromatic
#190519 #370B36 #6A1668 #9D219A #CF2BCB

Accessibility & contrast

On white

10.90
#6A1668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#6A1668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1668
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1668#FFFFFF#000000##FFFFFF
##6A16681.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07366A
Deuteranopia (green-blind)
#2F4166
Tritanopia (blue-blind)
#6E233E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6a1668;
/* rgb */ color: rgb(106, 22, 104);
/* oklch */ color: oklch(37.9% 0.151 329.1);
Tailwind
colors: {
  custom: {
    50: '#985e93',
    500: '#6a1668',
    950: '#000000',
  },
}
SCSS
$custom: #6a1668;
$custom-light: #985e93;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1668",
  "rgb": {
    "r": 106,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 301.429,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.37923,
    "c": 0.15061,
    "h": 329.1
  },
  "luminance": 0.04637
}

Semantic roles & 50–950 ramp

primary
#6A1668
secondary
#3BA03E
accent
#E9433F
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6A1668

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

Preview Lab → · Contrast checker → · Palette generator →

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