#64277D#64277D

#64277D is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.2% C 0.146 H 314.5°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#64277D
RGBrgb(100, 39, 125)
HSLhsl(283, 52%, 32%)
HSVhsv(283, 69%, 49%)
CMYKcmyk(20%, 68.8%, 0%, 51%)
CIE-LABlab(28.49, 41.75, -36.94)
CIE-LCHlch(28.49, 55.75, 318.50°)
OKLaboklab(40.17% 0.1021 -0.1039)
OKLCHoklch(40.17% 0.146 314.5)
XYZxyz(9.6821, 5.6414, 19.9769)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64277D #407D27
analogous
#39277D #64277D #7D276B
triadic
#64277D #7D6427 #277D64
tetradic
#64277D #7D3927 #407D27 #276B7D
square
#64277D #7D3927 #407D27 #276B7D
split-complementary
#64277D #6B7D27 #277D39
monochromatic
#190A20 #3F184E #64277D #8936AC #A855CA

Accessibility & contrast

On white

9.87
#64277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#64277D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64277D
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64277D#FFFFFF#000000##FFFFFF
##64277D1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004080
Deuteranopia (green-blind)
#24457B
Tritanopia (blue-blind)
#62384E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #64277d;
/* rgb */ color: rgb(100, 39, 125);
/* oklch */ color: oklch(40.2% 0.146 314.5);
Tailwind
colors: {
  custom: {
    50: '#9366a3',
    500: '#64277d',
    950: '#000000',
  },
}
SCSS
$custom: #64277d;
$custom-light: #9366a3;
$custom-dark: #000000;
JSON
{
  "hex": "#64277d",
  "rgb": {
    "r": 100,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 282.558,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40171,
    "c": 0.14568,
    "h": 314.5
  },
  "luminance": 0.05641
}

Semantic roles & 50–950 ramp

primary
#64277D
secondary
#6CAF51
accent
#DC4C76
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #64277D

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

Preview Lab → · Contrast checker → · Palette generator →

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