#64227E#64227E

#64227E is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.7% C 0.154 H 314.6°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#64227E
RGBrgb(100, 34, 126)
HSLhsl(283, 58%, 31%)
HSVhsv(283, 73%, 49%)
CMYKcmyk(20.6%, 73%, 0%, 50.6%)
CIE-LABlab(27.74, 44.27, -38.78)
CIE-LCHlch(27.74, 58.85, 318.78°)
OKLaboklab(39.66% 0.1079 -0.1093)
OKLCHoklch(39.66% 0.154 314.6)
XYZxyz(9.5928, 5.3601, 20.2639)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64227E #3C7E22
analogous
#36227E #64227E #7E226A
triadic
#64227E #7E6422 #227E64
tetradic
#64227E #7E3622 #3C7E22 #226A7E
square
#64227E #7E3622 #3C7E22 #226A7E
split-complementary
#64227E #6A7E22 #227E36
monochromatic
#18081E #3E154E #64227E #8A2FAE #AA4CCF

Accessibility & contrast

On white

10.14
#64227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#64227E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64227E
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64227E#FFFFFF#000000##FFFFFF
##64227E1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#1E437C
Tritanopia (blue-blind)
#62354D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #64227e;
/* rgb */ color: rgb(100, 34, 126);
/* oklch */ color: oklch(39.7% 0.154 314.6);
Tailwind
colors: {
  custom: {
    50: '#9363a4',
    500: '#64227e',
    950: '#000000',
  },
}
SCSS
$custom: #64227e;
$custom-light: #9363a4;
$custom-dark: #000000;
JSON
{
  "hex": "#64227e",
  "rgb": {
    "r": 100,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 283.043,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39655,
    "c": 0.15353,
    "h": 314.6
  },
  "luminance": 0.0536
}

Semantic roles & 50–950 ramp

primary
#64227E
secondary
#68B14B
accent
#E14772
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #64227E

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

Preview Lab → · Contrast checker → · Palette generator →

#64227E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva