#64286F#64286F

#64286F is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.4% C 0.130 H 321.2°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#64286F
RGBrgb(100, 40, 111)
HSLhsl(291, 47%, 30%)
HSVhsv(291, 64%, 44%)
CMYKcmyk(9.9%, 64%, 0%, 56.5%)
CIE-LABlab(27.78, 38.21, -29.19)
CIE-LCHlch(27.78, 48.08, 322.63°)
OKLaboklab(39.37% 0.101 -0.0813)
OKLCHoklch(39.37% 0.13 321.2)
XYZxyz(8.8832, 5.3750, 15.6054)
Luminance0.0537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64286F #336F28
analogous
#41286F #64286F #6F2857
triadic
#64286F #6F6428 #286F64
tetradic
#64286F #6F4128 #336F28 #28576F
square
#64286F #6F4128 #336F28 #28576F
split-complementary
#64286F #576F28 #286F41
monochromatic
#140816 #3B1842 #64286F #8D389C #AF51C0

Accessibility & contrast

On white

10.12
#64286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#64286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64286F
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64286F#FFFFFF#000000##FFFFFF
##64286F1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183D71
Deuteranopia (green-blind)
#2F446D
Tritanopia (blue-blind)
#653347
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #64286f;
/* rgb */ color: rgb(100, 40, 111);
/* oklch */ color: oklch(39.4% 0.130 321.2);
Tailwind
colors: {
  custom: {
    50: '#926699',
    500: '#64286f',
    950: '#000000',
  },
}
SCSS
$custom: #64286f;
$custom-light: #926699;
$custom-dark: #000000;
JSON
{
  "hex": "#64286f",
  "rgb": {
    "r": 100,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 290.704,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39371,
    "c": 0.1296,
    "h": 321.2
  },
  "luminance": 0.05375
}

Semantic roles & 50–950 ramp

primary
#64286F
secondary
#5EA151
accent
#D75166
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #64286F

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

Preview Lab → · Contrast checker → · Palette generator →

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