#68166D#68166D

#68166D is a dark, vivid purple. Relative luminance 0.046; OKLCH L 37.9% C 0.154 H 325.5°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#68166D
RGBrgb(104, 22, 109)
HSLhsl(297, 66%, 26%)
HSVhsv(297, 80%, 43%)
CMYKcmyk(4.6%, 79.8%, 0%, 57.3%)
CIE-LABlab(25.63, 46.39, -31.28)
CIE-LCHlch(25.63, 55.95, 326.01°)
OKLaboklab(37.92% 0.1267 -0.0871)
OKLCHoklch(37.92% 0.154 325.5)
XYZxyz(8.7560, 4.6216, 14.8959)
Luminance0.0462 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68166D #1B6D16
analogous
#3C166D #68166D #6D1646
triadic
#68166D #6D6816 #166D68
tetradic
#68166D #6D3C16 #1B6D16 #16466D
square
#68166D #6D3C16 #1B6D16 #16466D
split-complementary
#68166D #466D16 #166D3C
monochromatic
#180519 #370C3A #68166D #9920A0 #C92BD3

Accessibility & contrast

On white

10.91
#68166D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#68166D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68166D
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68166D#FFFFFF#000000##FFFFFF
##68166D1.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366F
Deuteranopia (green-blind)
#2A406B
Tritanopia (blue-blind)
#6B2641
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #68166d;
/* rgb */ color: rgb(104, 22, 109);
/* oklch */ color: oklch(37.9% 0.154 325.5);
Tailwind
colors: {
  custom: {
    50: '#965e97',
    500: '#68166d',
    950: '#000000',
  },
}
SCSS
$custom: #68166d;
$custom-light: #965e97;
$custom-dark: #000000;
JSON
{
  "hex": "#68166d",
  "rgb": {
    "r": 104,
    "g": 22,
    "b": 109
  },
  "hsl": {
    "h": 296.552,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.37919,
    "c": 0.15378,
    "h": 325.5
  },
  "luminance": 0.04621
}

Semantic roles & 50–950 ramp

primary
#68166D
secondary
#42A33C
accent
#E93E48
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #68166D

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

Preview Lab → · Contrast checker → · Palette generator →

#68166D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva