#64187D#64187D

#64187D is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.6% C 0.164 H 315.9°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#64187D
RGBrgb(100, 24, 125)
HSLhsl(285, 68%, 29%)
HSVhsv(285, 81%, 49%)
CMYKcmyk(20%, 80.8%, 0%, 51%)
CIE-LABlab(26.28, 48.00, -40.49)
CIE-LCHlch(26.28, 62.80, 319.85°)
OKLaboklab(38.6% 0.118 -0.1142)
OKLCHoklch(38.6% 0.164 315.9)
XYZxyz(9.2833, 4.8436, 19.8440)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64187D #317D18
analogous
#32187D #64187D #7D1864
triadic
#64187D #7D6418 #187D64
tetradic
#64187D #7D3218 #317D18 #18647D
square
#64187D #7D3218 #317D18 #18647D
split-complementary
#64187D #647D18 #187D32
monochromatic
#15051A #3B0E4A #64187D #8D22B0 #B137D9

Accessibility & contrast

On white

10.67
#64187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#64187D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64187D
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64187D#FFFFFF#000000##FFFFFF
##64187D1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A80
Deuteranopia (green-blind)
#16407B
Tritanopia (blue-blind)
#622F4A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #64187d;
/* rgb */ color: rgb(100, 24, 125);
/* oklch */ color: oklch(38.6% 0.164 315.9);
Tailwind
colors: {
  custom: {
    50: '#945fa3',
    500: '#64187d',
    950: '#000000',
  },
}
SCSS
$custom: #64187d;
$custom-light: #945fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#64187d",
  "rgb": {
    "r": 100,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 285.149,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38602,
    "c": 0.16418,
    "h": 315.9
  },
  "luminance": 0.04843
}

Semantic roles & 50–950 ramp

primary
#64187D
secondary
#5CB23F
accent
#EB3D68
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #64187D

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

Preview Lab → · Contrast checker → · Palette generator →

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