#64177E#64177E

#64177E is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.6% C 0.166 H 315.6°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#64177E
RGBrgb(100, 23, 126)
HSLhsl(285, 69%, 29%)
HSVhsv(285, 82%, 49%)
CMYKcmyk(20.6%, 81.7%, 0%, 50.6%)
CIE-LABlab(26.24, 48.55, -41.19)
CIE-LCHlch(26.24, 63.67, 319.69°)
OKLaboklab(38.6% 0.1186 -0.1163)
OKLCHoklch(38.6% 0.166 315.6)
XYZxyz(9.3272, 4.8288, 20.1754)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64177E #317E17
analogous
#30177E #64177E #7E1765
triadic
#64177E #7E6417 #177E64
tetradic
#64177E #7E3017 #317E17 #17657E
square
#64177E #7E3017 #317E17 #17657E
split-complementary
#64177E #657E17 #177E30
monochromatic
#15051A #3B0E4A #64177E #8D20B2 #B135DA

Accessibility & contrast

On white

10.68
#64177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#64177E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64177E
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64177E#FFFFFF#000000##FFFFFF
##64177E1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#13407C
Tritanopia (blue-blind)
#622F4B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #64177e;
/* rgb */ color: rgb(100, 23, 126);
/* oklch */ color: oklch(38.6% 0.166 315.6);
Tailwind
colors: {
  custom: {
    50: '#945fa4',
    500: '#64177e',
    950: '#000000',
  },
}
SCSS
$custom: #64177e;
$custom-light: #945fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#64177e",
  "rgb": {
    "r": 100,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 284.854,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38596,
    "c": 0.16611,
    "h": 315.6
  },
  "luminance": 0.04828
}

Semantic roles & 50–950 ramp

primary
#64177E
secondary
#5CB33E
accent
#EC3C68
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #64177E

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

Preview Lab → · Contrast checker → · Palette generator →

#64177E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva