#64218D#64218D

#64218D is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.170 H 308.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#64218D
RGBrgb(100, 33, 141)
HSLhsl(277, 62%, 34%)
HSVhsv(277, 77%, 55%)
CMYKcmyk(29.1%, 76.6%, 0%, 44.7%)
CIE-LABlab(28.70, 48.07, -46.60)
CIE-LCHlch(28.70, 66.95, 315.88°)
OKLaboklab(40.69% 0.1066 -0.1322)
OKLCHoklch(40.69% 0.17 308.9)
XYZxyz(10.6061, 5.7203, 25.7395)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64218D #4A8D21
analogous
#2E218D #64218D #8D2180
triadic
#64218D #8D6421 #218D64
tetradic
#64218D #8D2E21 #4A8D21 #21808D
square
#64218D #8D2E21 #4A8D21 #21808D
split-complementary
#64218D #808D21 #218D2E
monochromatic
#1E0A2A #41155B #64218D #872DBF #A452D6

Accessibility & contrast

On white

9.79
#64218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#64218D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64218D
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64218D#FFFFFF#000000##FFFFFF
##64218D1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#5E3B56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #64218d;
/* rgb */ color: rgb(100, 33, 141);
/* oklch */ color: oklch(40.7% 0.170 308.9);
Tailwind
colors: {
  custom: {
    50: '#9464af',
    500: '#64218d',
    950: '#000000',
  },
}
SCSS
$custom: #64218d;
$custom-light: #9464af;
$custom-dark: #000000;
JSON
{
  "hex": "#64218d",
  "rgb": {
    "r": 100,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 277.222,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40686,
    "c": 0.16985,
    "h": 308.9
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

primary
#64218D
secondary
#78BA50
accent
#E54380
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #64218D

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

Preview Lab → · Contrast checker → · Palette generator →

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