#64187E#64187E

#64187E is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.7% C 0.165 H 315.5°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#64187E
RGBrgb(100, 24, 126)
HSLhsl(285, 68%, 29%)
HSVhsv(285, 81%, 49%)
CMYKcmyk(20.6%, 81%, 0%, 50.6%)
CIE-LABlab(26.36, 48.21, -41.00)
CIE-LCHlch(26.36, 63.29, 319.62°)
OKLaboklab(38.68% 0.1178 -0.1157)
OKLCHoklch(38.68% 0.165 315.5)
XYZxyz(9.3475, 4.8693, 20.1821)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64187E #327E18
analogous
#31187E #64187E #7E1865
triadic
#64187E #7E6418 #187E64
tetradic
#64187E #7E3118 #327E18 #18657E
square
#64187E #7E3118 #327E18 #18657E
split-complementary
#64187E #657E18 #187E31
monochromatic
#14051A #3B0E4B #64187E #8D22B1 #B037D9

Accessibility & contrast

On white

10.64
#64187E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #64187E
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64187E#FFFFFF#000000##FFFFFF
##64187E1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#14407C
Tritanopia (blue-blind)
#62304B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #64187e;
/* rgb */ color: rgb(100, 24, 126);
/* oklch */ color: oklch(38.7% 0.165 315.5);
Tailwind
colors: {
  custom: {
    50: '#945fa4',
    500: '#64187e',
    950: '#000000',
  },
}
SCSS
$custom: #64187e;
$custom-light: #945fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#64187e",
  "rgb": {
    "r": 100,
    "g": 24,
    "b": 126
  },
  "hsl": {
    "h": 284.706,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38678,
    "c": 0.16511,
    "h": 315.5
  },
  "luminance": 0.04869
}

Semantic roles & 50–950 ramp

primary
#64187E
secondary
#5DB23F
accent
#EB3D69
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #64187E

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

Preview Lab → · Contrast checker → · Palette generator →

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