#64187F#64187F

#64187F is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.166 H 315.1°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#64187F
RGBrgb(100, 24, 127)
HSLhsl(284, 68%, 30%)
HSVhsv(284, 81%, 50%)
CMYKcmyk(21.3%, 81.1%, 0%, 50.2%)
CIE-LABlab(26.43, 48.42, -41.51)
CIE-LCHlch(26.43, 63.78, 319.39°)
OKLaboklab(38.76% 0.1176 -0.1172)
OKLCHoklch(38.76% 0.166 315.1)
XYZxyz(9.4123, 4.8953, 20.5236)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64187F #337F18
analogous
#31187F #64187F #7F1867
triadic
#64187F #7F6418 #187F64
tetradic
#64187F #7F3118 #337F18 #18677F
square
#64187F #7F3118 #337F18 #18677F
split-complementary
#64187F #677F18 #187F31
monochromatic
#14051A #3B0E4C #64187F #8D22B2 #AF38D9

Accessibility & contrast

On white

10.61
#64187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#64187F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64187F
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64187F#FFFFFF#000000##FFFFFF
##64187F1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#13407D
Tritanopia (blue-blind)
#62304C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #64187f;
/* rgb */ color: rgb(100, 24, 127);
/* oklch */ color: oklch(38.8% 0.166 315.1);
Tailwind
colors: {
  custom: {
    50: '#945fa5',
    500: '#64187f',
    950: '#000000',
  },
}
SCSS
$custom: #64187f;
$custom-light: #945fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#64187f",
  "rgb": {
    "r": 100,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 284.272,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38755,
    "c": 0.16602,
    "h": 315.1
  },
  "luminance": 0.04895
}

Semantic roles & 50–950 ramp

primary
#64187F
secondary
#5EB33F
accent
#EB3D6A
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #64187F

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

Preview Lab → · Contrast checker → · Palette generator →

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