#64218F#64218F

#64218F is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.172 H 308.2°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#64218F
RGBrgb(100, 33, 143)
HSLhsl(277, 63%, 35%)
HSVhsv(277, 77%, 56%)
CMYKcmyk(30.1%, 76.9%, 0%, 43.9%)
CIE-LABlab(28.85, 48.52, -47.59)
CIE-LCHlch(28.85, 67.96, 315.56°)
OKLaboklab(40.85% 0.1062 -0.1351)
OKLCHoklch(40.85% 0.172 308.2)
XYZxyz(10.7563, 5.7804, 26.5304)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64218F #4C8F21
analogous
#2D218F #64218F #8F2183
triadic
#64218F #8F6421 #218F64
tetradic
#64218F #8F2D21 #4C8F21 #21838F
square
#64218F #8F2D21 #4C8F21 #21838F
split-complementary
#64218F #838F21 #218F2D
monochromatic
#1E0A2C #41165D #64218F #872CC1 #A453D7

Accessibility & contrast

On white

9.74
#64218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#64218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64218F
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64218F#FFFFFF#000000##FFFFFF
##64218F1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#5D3C57
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #64218f;
/* rgb */ color: rgb(100, 33, 143);
/* oklch */ color: oklch(40.8% 0.172 308.2);
Tailwind
colors: {
  custom: {
    50: '#9564b1',
    500: '#64218f',
    950: '#000000',
  },
}
SCSS
$custom: #64218f;
$custom-light: #9564b1;
$custom-dark: #000000;
JSON
{
  "hex": "#64218f",
  "rgb": {
    "r": 100,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 276.545,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40845,
    "c": 0.17186,
    "h": 308.2
  },
  "luminance": 0.0578
}

Semantic roles & 50–950 ramp

primary
#64218F
secondary
#7ABB51
accent
#E64282
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #64218F

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

Preview Lab → · Contrast checker → · Palette generator →

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