#64226F#64226F

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

Color values

HEX#64226F
RGBrgb(100, 34, 111)
HSLhsl(291, 53%, 28%)
HSVhsv(291, 69%, 44%)
CMYKcmyk(9.9%, 69.4%, 0%, 56.5%)
CIE-LABlab(26.74, 41.09, -30.84)
CIE-LCHlch(26.74, 51.37, 323.11°)
OKLaboklab(38.62% 0.1087 -0.086)
OKLCHoklch(38.62% 0.139 321.7)
XYZxyz(8.6965, 5.0015, 15.5432)
Luminance0.0500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64226F #2D6F22
analogous
#3D226F #64226F #6F2253
triadic
#64226F #6F6422 #226F64
tetradic
#64226F #6F3D22 #2D6F22 #22536F
square
#64226F #6F3D22 #2D6F22 #22536F
split-complementary
#64226F #536F22 #226F3D
monochromatic
#150717 #3A1440 #64226F #8E309E #B445C6

Accessibility & contrast

On white

10.50
#64226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #64226F
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64226F#FFFFFF#000000##FFFFFF
##64226F1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #64226f;
/* rgb */ color: rgb(100, 34, 111);
/* oklch */ color: oklch(38.6% 0.139 321.7);
Tailwind
colors: {
  custom: {
    50: '#936399',
    500: '#64226f',
    950: '#000000',
  },
}
SCSS
$custom: #64226f;
$custom-light: #936399;
$custom-dark: #000000;
JSON
{
  "hex": "#64226f",
  "rgb": {
    "r": 100,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 291.429,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3862,
    "c": 0.13864,
    "h": 321.7
  },
  "luminance": 0.05001
}

Semantic roles & 50–950 ramp

primary
#64226F
secondary
#57A24A
accent
#DD4B60
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #64226F

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

Preview Lab → · Contrast checker → · Palette generator →

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