#64218A#64218A

#64218A is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.167 H 310.0°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#64218A
RGBrgb(100, 33, 138)
HSLhsl(278, 61%, 34%)
HSVhsv(278, 76%, 54%)
CMYKcmyk(27.5%, 76.1%, 0%, 45.9%)
CIE-LABlab(28.46, 47.38, -45.11)
CIE-LCHlch(28.46, 65.42, 316.40°)
OKLaboklab(40.45% 0.1072 -0.1278)
OKLCHoklch(40.45% 0.167 310)
XYZxyz(10.3859, 5.6322, 24.5798)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64218A #478A21
analogous
#2F218A #64218A #8A217B
triadic
#64218A #8A6421 #218A64
tetradic
#64218A #8A2F21 #478A21 #217B8A
square
#64218A #8A2F21 #478A21 #217B8A
split-complementary
#64218A #7B8A21 #218A2F
monochromatic
#1C0927 #401559 #64218A #882DBB #A550D5

Accessibility & contrast

On white

9.88
#64218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#64218A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64218A
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64218A#FFFFFF#000000##FFFFFF
##64218A1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#064488
Tritanopia (blue-blind)
#5F3A54
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #64218a;
/* rgb */ color: rgb(100, 33, 138);
/* oklch */ color: oklch(40.5% 0.167 310.0);
Tailwind
colors: {
  custom: {
    50: '#9464ad',
    500: '#64218a',
    950: '#000000',
  },
}
SCSS
$custom: #64218a;
$custom-light: #9464ad;
$custom-dark: #000000;
JSON
{
  "hex": "#64218a",
  "rgb": {
    "r": 100,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 278.286,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4045,
    "c": 0.16683,
    "h": 310
  },
  "luminance": 0.05632
}

Semantic roles & 50–950 ramp

primary
#64218A
secondary
#75B94E
accent
#E5437E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #64218A

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

Preview Lab → · Contrast checker → · Palette generator →

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