#64226E#64226E

#64226E is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.6% C 0.138 H 322.2°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#64226E
RGBrgb(100, 34, 110)
HSLhsl(292, 53%, 28%)
HSVhsv(292, 69%, 43%)
CMYKcmyk(9.1%, 69.1%, 0%, 56.9%)
CIE-LABlab(26.68, 40.88, -30.30)
CIE-LCHlch(26.68, 50.88, 323.46°)
OKLaboklab(38.56% 0.1087 -0.0844)
OKLCHoklch(38.56% 0.138 322.2)
XYZxyz(8.6417, 4.9796, 15.2548)
Luminance0.0498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64226E #2C6E22
analogous
#3E226E #64226E #6E2252
triadic
#64226E #6E6422 #226E64
tetradic
#64226E #6E3E22 #2C6E22 #22526E
square
#64226E #6E3E22 #2C6E22 #22526E
split-complementary
#64226E #526E22 #226E3E
monochromatic
#150717 #39143F #64226E #8E309D #B545C5

Accessibility & contrast

On white

10.52
#64226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#64226E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64226E
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64226E#FFFFFF#000000##FFFFFF
##64226E1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3A70
Deuteranopia (green-blind)
#2C426C
Tritanopia (blue-blind)
#652F45
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #64226e;
/* rgb */ color: rgb(100, 34, 110);
/* oklch */ color: oklch(38.6% 0.138 322.2);
Tailwind
colors: {
  custom: {
    50: '#936398',
    500: '#64226e',
    950: '#000000',
  },
}
SCSS
$custom: #64226e;
$custom-light: #936398;
$custom-dark: #000000;
JSON
{
  "hex": "#64226e",
  "rgb": {
    "r": 100,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 292.105,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38555,
    "c": 0.13767,
    "h": 322.2
  },
  "luminance": 0.04979
}

Semantic roles & 50–950 ramp

primary
#64226E
secondary
#56A14A
accent
#DC4C5F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D050D
muted
#7E7A7E

Preview Lab

Preview with #64226E

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

Preview Lab → · Contrast checker → · Palette generator →

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