#64166A#64166A

#64166A is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.1% C 0.149 H 324.9°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#64166A
RGBrgb(100, 22, 106)
HSLhsl(296, 66%, 25%)
HSVhsv(296, 79%, 42%)
CMYKcmyk(5.7%, 79.2%, 0%, 58.4%)
CIE-LABlab(24.72, 44.93, -30.84)
CIE-LCHlch(24.72, 54.49, 325.53°)
OKLaboklab(37.07% 0.1221 -0.0859)
OKLCHoklch(37.07% 0.149 324.9)
XYZxyz(8.1438, 4.3243, 14.0386)
Luminance0.0432 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64166A #1C6A16
analogous
#3A166A #64166A #6A1646
triadic
#64166A #6A6416 #166A64
tetradic
#64166A #6A3A16 #1C6A16 #16466A
square
#64166A #6A3A16 #1C6A16 #16466A
split-complementary
#64166A #466A16 #166A3A
monochromatic
#180519 #340B37 #64166A #94219D #C42BCF

Accessibility & contrast

On white

11.26
#64166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#64166A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64166A
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64166A#FFFFFF#000000##FFFFFF
##64166A1.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#283E68
Tritanopia (blue-blind)
#66253F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #64166a;
/* rgb */ color: rgb(100, 22, 106);
/* oklch */ color: oklch(37.1% 0.149 324.9);
Tailwind
colors: {
  custom: {
    50: '#935d95',
    500: '#64166a',
    950: '#000000',
  },
}
SCSS
$custom: #64166a;
$custom-light: #935d95;
$custom-dark: #000000;
JSON
{
  "hex": "#64166a",
  "rgb": {
    "r": 100,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 295.714,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.37068,
    "c": 0.14928,
    "h": 324.9
  },
  "luminance": 0.04324
}

Semantic roles & 50–950 ramp

primary
#64166A
secondary
#43A03B
accent
#E93F4B
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #64166A

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

Preview Lab → · Contrast checker → · Palette generator →

#64166A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva