#6D1668#6D1668

#6D1668 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.4% C 0.152 H 330.6°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#6D1668
RGBrgb(109, 22, 104)
HSLhsl(303, 66%, 26%)
HSVhsv(303, 80%, 43%)
CMYKcmyk(0%, 79.8%, 4.6%, 57.3%)
CIE-LABlab(26.23, 46.64, -27.03)
CIE-LCHlch(26.23, 53.91, 329.91°)
OKLaboklab(38.42% 0.1326 -0.0746)
OKLCHoklch(38.42% 0.152 330.6)
XYZxyz(9.0923, 4.8252, 13.5465)
Luminance0.0483 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1668 #166D1B
analogous
#46166D #6D1668 #6D163C
triadic
#6D1668 #686D16 #16686D
tetradic
#6D1668 #6D4616 #166D1B #163C6D
square
#6D1668 #6D4616 #166D1B #163C6D
split-complementary
#6D1668 #3C6D16 #166D46
monochromatic
#190518 #3A0C37 #6D1668 #A02099 #D32BC9

Accessibility & contrast

On white

10.69
#6D1668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#6D1668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1668
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1668#FFFFFF#000000##FFFFFF
##6D16681.0010.691.9710.69
#FFFFFF10.691.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B376A
Deuteranopia (green-blind)
#324266
Tritanopia (blue-blind)
#71223E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6d1668;
/* rgb */ color: rgb(109, 22, 104);
/* oklch */ color: oklch(38.4% 0.152 330.6);
Tailwind
colors: {
  custom: {
    50: '#9a5e93',
    500: '#6d1668',
    950: '#000000',
  },
}
SCSS
$custom: #6d1668;
$custom-light: #9a5e93;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1668",
  "rgb": {
    "r": 109,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 303.448,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.38424,
    "c": 0.15218,
    "h": 330.6
  },
  "luminance": 0.04825
}

Semantic roles & 50–950 ramp

primary
#6D1668
secondary
#3CA342
accent
#E9483E
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6D1668

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

Preview Lab → · Contrast checker → · Palette generator →

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