#64186A#64186A

#64186A is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.2% C 0.147 H 324.8°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#64186A
RGBrgb(100, 24, 106)
HSLhsl(296, 63%, 25%)
HSVhsv(296, 77%, 42%)
CMYKcmyk(5.7%, 77.4%, 0%, 58.4%)
CIE-LABlab(24.96, 44.22, -30.44)
CIE-LCHlch(24.96, 53.68, 325.45°)
OKLaboklab(37.24% 0.1201 -0.0848)
OKLCHoklch(37.24% 0.147 324.8)
XYZxyz(8.1835, 4.4037, 14.0518)
Luminance0.0440 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64186A #1E6A18
analogous
#3B186A #64186A #6A1847
triadic
#64186A #6A6418 #186A64
tetradic
#64186A #6A3B18 #1E6A18 #18476A
square
#64186A #6A3B18 #1E6A18 #18476A
split-complementary
#64186A #476A18 #186A3B
monochromatic
#180619 #350D38 #64186A #93239C #C22FCE

Accessibility & contrast

On white

11.17
#64186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#64186A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64186A
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64186A#FFFFFF#000000##FFFFFF
##64186A1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#293E68
Tritanopia (blue-blind)
#662640
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #64186a;
/* rgb */ color: rgb(100, 24, 106);
/* oklch */ color: oklch(37.2% 0.147 324.8);
Tailwind
colors: {
  custom: {
    50: '#935e95',
    500: '#64186a',
    950: '#000000',
  },
}
SCSS
$custom: #64186a;
$custom-light: #935e95;
$custom-dark: #000000;
JSON
{
  "hex": "#64186a",
  "rgb": {
    "r": 100,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 295.61,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.37245,
    "c": 0.14702,
    "h": 324.8
  },
  "luminance": 0.04403
}

Semantic roles & 50–950 ramp

primary
#64186A
secondary
#45A03E
accent
#E6424E
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #64186A

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

Preview Lab → · Contrast checker → · Palette generator →

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