#64227A#64227A

#64227A is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.4% C 0.150 H 316.4°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#64227A
RGBrgb(100, 34, 122)
HSLhsl(285, 56%, 31%)
HSVhsv(285, 72%, 48%)
CMYKcmyk(18%, 72.1%, 0%, 52.2%)
CIE-LABlab(27.46, 43.40, -36.70)
CIE-LCHlch(27.46, 56.84, 319.79°)
OKLaboklab(39.37% 0.1082 -0.1031)
OKLCHoklch(39.37% 0.15 316.4)
XYZxyz(9.3399, 5.2589, 18.9317)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64227A #387A22
analogous
#38227A #64227A #7A2264
triadic
#64227A #7A6422 #227A64
tetradic
#64227A #7A3822 #387A22 #22647A
square
#64227A #7A3822 #387A22 #22647A
split-complementary
#64227A #647A22 #227A38
monochromatic
#16071A #3D154A #64227A #8B2FAA #AC4ACD

Accessibility & contrast

On white

10.23
#64227A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#64227A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64227A
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64227A#FFFFFF#000000##FFFFFF
##64227A1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7D
Deuteranopia (green-blind)
#224378
Tritanopia (blue-blind)
#63334B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #64227a;
/* rgb */ color: rgb(100, 34, 122);
/* oklch */ color: oklch(39.4% 0.150 316.4);
Tailwind
colors: {
  custom: {
    50: '#9363a1',
    500: '#64227a',
    950: '#000000',
  },
}
SCSS
$custom: #64227a;
$custom-light: #9363a1;
$custom-dark: #000000;
JSON
{
  "hex": "#64227a",
  "rgb": {
    "r": 100,
    "g": 34,
    "b": 122
  },
  "hsl": {
    "h": 285,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39369,
    "c": 0.14952,
    "h": 316.4
  },
  "luminance": 0.05259
}

Semantic roles & 50–950 ramp

primary
#64227A
secondary
#63AD4B
accent
#E0486E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060F
muted
#7E7A7E

Preview Lab

Preview with #64227A

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

Preview Lab → · Contrast checker → · Palette generator →

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