#64287A#64287A

#64287A is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.1% C 0.141 H 315.7°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#64287A
RGBrgb(100, 40, 122)
HSLhsl(284, 51%, 32%)
HSVhsv(284, 67%, 48%)
CMYKcmyk(18%, 67.2%, 0%, 52.2%)
CIE-LABlab(28.47, 40.60, -35.09)
CIE-LCHlch(28.47, 53.66, 319.16°)
OKLaboklab(40.09% 0.101 -0.0985)
OKLCHoklch(40.09% 0.141 315.7)
XYZxyz(9.5266, 5.6324, 18.9939)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64287A #3E7A28
analogous
#3B287A #64287A #7A2867
triadic
#64287A #7A6428 #287A64
tetradic
#64287A #7A3B28 #3E7A28 #28677A
square
#64287A #7A3B28 #3E7A28 #28677A
split-complementary
#64287A #677A28 #287A3B
monochromatic
#180A1E #3E194C #64287A #8A37A8 #A955C7

Accessibility & contrast

On white

9.88
#64287A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#64287A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64287A
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64287A#FFFFFF#000000##FFFFFF
##64287A1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06407C
Deuteranopia (green-blind)
#274578
Tritanopia (blue-blind)
#63374D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #64287a;
/* rgb */ color: rgb(100, 40, 122);
/* oklch */ color: oklch(40.1% 0.141 315.7);
Tailwind
colors: {
  custom: {
    50: '#9366a1',
    500: '#64287a',
    950: '#000000',
  },
}
SCSS
$custom: #64287a;
$custom-light: #9366a1;
$custom-dark: #000000;
JSON
{
  "hex": "#64287a",
  "rgb": {
    "r": 100,
    "g": 40,
    "b": 122
  },
  "hsl": {
    "h": 283.902,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40091,
    "c": 0.14107,
    "h": 315.7
  },
  "luminance": 0.05632
}

Semantic roles & 50–950 ramp

primary
#64287A
secondary
#6AAC52
accent
#DA4E73
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060F
muted
#7E7A7E

Preview Lab

Preview with #64287A

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

Preview Lab → · Contrast checker → · Palette generator →

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