#64277A#64277A

#64277A is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.0% C 0.143 H 315.8°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#64277A
RGBrgb(100, 39, 122)
HSLhsl(284, 52%, 32%)
HSVhsv(284, 68%, 48%)
CMYKcmyk(18%, 68%, 0%, 52.2%)
CIE-LABlab(28.29, 41.08, -35.37)
CIE-LCHlch(28.29, 54.21, 319.28°)
OKLaboklab(39.96% 0.1023 -0.0993)
OKLCHoklch(39.96% 0.143 315.8)
XYZxyz(9.4934, 5.5658, 18.9828)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64277A #3D7A27
analogous
#3B277A #64277A #7A2767
triadic
#64277A #7A6427 #277A64
tetradic
#64277A #7A3B27 #3D7A27 #27677A
square
#64277A #7A3B27 #3D7A27 #27677A
split-complementary
#64277A #677A27 #277A3B
monochromatic
#18091D #3E184C #64277A #8A36A8 #A953C8

Accessibility & contrast

On white

9.94
#64277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#64277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64277A
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64277A#FFFFFF#000000##FFFFFF
##64277A1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033F7C
Deuteranopia (green-blind)
#274478
Tritanopia (blue-blind)
#63374D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #64277a;
/* rgb */ color: rgb(100, 39, 122);
/* oklch */ color: oklch(40.0% 0.143 315.8);
Tailwind
colors: {
  custom: {
    50: '#9366a1',
    500: '#64277a',
    950: '#000000',
  },
}
SCSS
$custom: #64277a;
$custom-light: #9366a1;
$custom-dark: #000000;
JSON
{
  "hex": "#64277a",
  "rgb": {
    "r": 100,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 284.096,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39964,
    "c": 0.14254,
    "h": 315.8
  },
  "luminance": 0.05566
}

Semantic roles & 50–950 ramp

primary
#64277A
secondary
#69AC51
accent
#DB4D72
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060F
muted
#7E7A7E

Preview Lab

Preview with #64277A

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

Preview Lab → · Contrast checker → · Palette generator →

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