#64218E#64218E

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

Color values

HEX#64218E
RGBrgb(100, 33, 142)
HSLhsl(277, 62%, 34%)
HSVhsv(277, 77%, 56%)
CMYKcmyk(29.6%, 76.8%, 0%, 44.3%)
CIE-LABlab(28.77, 48.29, -47.10)
CIE-LCHlch(28.77, 67.46, 315.72°)
OKLaboklab(40.77% 0.1064 -0.1337)
OKLCHoklch(40.77% 0.171 308.5)
XYZxyz(10.6809, 5.7502, 26.1332)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64218E #4B8E21
analogous
#2E218E #64218E #8E2182
triadic
#64218E #8E6421 #218E64
tetradic
#64218E #8E2E21 #4B8E21 #21828E
square
#64218E #8E2E21 #4B8E21 #21828E
split-complementary
#64218E #828E21 #218E2E
monochromatic
#1E0A2B #41155C #64218E #872DC0 #A452D7

Accessibility & contrast

On white

9.77
#64218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#64218E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64218E
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64218E#FFFFFF#000000##FFFFFF
##64218E1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#5D3B56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #64218e;
/* rgb */ color: rgb(100, 33, 142);
/* oklch */ color: oklch(40.8% 0.171 308.5);
Tailwind
colors: {
  custom: {
    50: '#9564b0',
    500: '#64218e',
    950: '#000000',
  },
}
SCSS
$custom: #64218e;
$custom-light: #9564b0;
$custom-dark: #000000;
JSON
{
  "hex": "#64218e",
  "rgb": {
    "r": 100,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 276.881,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40765,
    "c": 0.17086,
    "h": 308.5
  },
  "luminance": 0.0575
}

Semantic roles & 50–950 ramp

primary
#64218E
secondary
#79BA50
accent
#E54281
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #64218E

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

Preview Lab → · Contrast checker → · Palette generator →

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