#64147F#64147F

#64147F is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.4% C 0.170 H 315.4°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#64147F
RGBrgb(100, 20, 127)
HSLhsl(285, 73%, 29%)
HSVhsv(285, 84%, 50%)
CMYKcmyk(21.3%, 84.3%, 0%, 50.2%)
CIE-LABlab(25.99, 49.72, -42.23)
CIE-LCHlch(25.99, 65.23, 319.65°)
OKLaboklab(38.44% 0.1208 -0.1193)
OKLCHoklch(38.44% 0.17 315.4)
XYZxyz(9.3358, 4.7423, 20.4981)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64147F #2F7F14
analogous
#2F147F #64147F #7F1465
triadic
#64147F #7F6414 #147F64
tetradic
#64147F #7F2F14 #2F7F14 #14657F
square
#64147F #7F2F14 #2F7F14 #14657F
split-complementary
#64147F #657F14 #147F2F
monochromatic
#15041A #3A0C4A #64147F #8E1CB4 #B22FDE

Accessibility & contrast

On white

10.78
#64147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#64147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64147F
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64147F#FFFFFF#000000##FFFFFF
##64147F1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#0E3F7D
Tritanopia (blue-blind)
#622E4B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #64147f;
/* rgb */ color: rgb(100, 20, 127);
/* oklch */ color: oklch(38.4% 0.170 315.4);
Tailwind
colors: {
  custom: {
    50: '#945ea5',
    500: '#64147f',
    950: '#000000',
  },
}
SCSS
$custom: #64147f;
$custom-light: #945ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#64147f",
  "rgb": {
    "r": 100,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 284.86,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38442,
    "c": 0.16981,
    "h": 315.4
  },
  "luminance": 0.04742
}

Semantic roles & 50–950 ramp

primary
#64147F
secondary
#59B43B
accent
#EF3867
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #64147F

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

Preview Lab → · Contrast checker → · Palette generator →

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