#64176F#64176F

#64176F is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.5% C 0.153 H 322.3°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#64176F
RGBrgb(100, 23, 111)
HSLhsl(293, 66%, 26%)
HSVhsv(293, 79%, 44%)
CMYKcmyk(9.9%, 79.3%, 0%, 56.5%)
CIE-LABlab(25.17, 45.54, -33.35)
CIE-LCHlch(25.17, 56.44, 323.78°)
OKLaboklab(37.5% 0.1208 -0.0933)
OKLCHoklch(37.5% 0.153 322.3)
XYZxyz(8.4309, 4.4703, 15.4546)
Luminance0.0447 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64176F #226F17
analogous
#38176F #64176F #6F174E
triadic
#64176F #6F6417 #176F64
tetradic
#64176F #6F3817 #226F17 #174E6F
square
#64176F #6F3817 #226F17 #174E6F
split-complementary
#64176F #4E6F17 #176F38
monochromatic
#170519 #360C3C #64176F #9222A2 #BF2DD3

Accessibility & contrast

On white

11.09
#64176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#64176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64176F
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64176F#FFFFFF#000000##FFFFFF
##64176F1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#243F6D
Tritanopia (blue-blind)
#652842
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #64176f;
/* rgb */ color: rgb(100, 23, 111);
/* oklch */ color: oklch(37.5% 0.153 322.3);
Tailwind
colors: {
  custom: {
    50: '#935e99',
    500: '#64176f',
    950: '#000000',
  },
}
SCSS
$custom: #64176f;
$custom-light: #935e99;
$custom-dark: #000000;
JSON
{
  "hex": "#64176f",
  "rgb": {
    "r": 100,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 292.5,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.37497,
    "c": 0.15257,
    "h": 322.3
  },
  "luminance": 0.0447
}

Semantic roles & 50–950 ramp

primary
#64176F
secondary
#4AA53D
accent
#E93F54
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #64176F

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

Preview Lab → · Contrast checker → · Palette generator →

#64176F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva