#64277F#64277F

#64277F is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.3% C 0.148 H 313.6°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#64277F
RGBrgb(100, 39, 127)
HSLhsl(282, 53%, 33%)
HSVhsv(282, 69%, 50%)
CMYKcmyk(21.3%, 69.3%, 0%, 50.2%)
CIE-LABlab(28.62, 42.20, -37.98)
CIE-LCHlch(28.62, 56.78, 318.01°)
OKLaboklab(40.31% 0.102 -0.1069)
OKLCHoklch(40.31% 0.148 313.6)
XYZxyz(9.8112, 5.6930, 20.6566)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64277F #427F27
analogous
#38277F #64277F #7F276E
triadic
#64277F #7F6427 #277F64
tetradic
#64277F #7F3827 #427F27 #276E7F
square
#64277F #7F3827 #427F27 #276E7F
split-complementary
#64277F #6E7F27 #277F38
monochromatic
#1A0A21 #3F1950 #64277F #8935AE #A755CB

Accessibility & contrast

On white

9.82
#64277F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#64277F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64277F
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64277F#FFFFFF#000000##FFFFFF
##64277F1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#22457D
Tritanopia (blue-blind)
#61384F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #64277f;
/* rgb */ color: rgb(100, 39, 127);
/* oklch */ color: oklch(40.3% 0.148 313.6);
Tailwind
colors: {
  custom: {
    50: '#9366a5',
    500: '#64277f',
    950: '#000000',
  },
}
SCSS
$custom: #64277f;
$custom-light: #9366a5;
$custom-dark: #000000;
JSON
{
  "hex": "#64277f",
  "rgb": {
    "r": 100,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 281.591,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40312,
    "c": 0.14778,
    "h": 313.6
  },
  "luminance": 0.05693
}

Semantic roles & 50–950 ramp

primary
#64277F
secondary
#6FB052
accent
#DC4B78
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #64277F

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

Preview Lab → · Contrast checker → · Palette generator →

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