#64218B#64218B

#64218B is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.168 H 309.6°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#64218B
RGBrgb(100, 33, 139)
HSLhsl(278, 62%, 34%)
HSVhsv(278, 76%, 55%)
CMYKcmyk(28.1%, 76.3%, 0%, 45.5%)
CIE-LABlab(28.54, 47.61, -45.61)
CIE-LCHlch(28.54, 65.93, 316.23°)
OKLaboklab(40.53% 0.107 -0.1293)
OKLCHoklch(40.53% 0.168 309.6)
XYZxyz(10.4587, 5.6613, 24.9629)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64218B #488B21
analogous
#2F218B #64218B #8B217D
triadic
#64218B #8B6421 #218B64
tetradic
#64218B #8B2F21 #488B21 #217D8B
square
#64218B #8B2F21 #488B21 #217D8B
split-complementary
#64218B #7D8B21 #218B2F
monochromatic
#1D0A28 #40155A #64218B #882DBC #A551D6

Accessibility & contrast

On white

9.85
#64218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #64218B
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64218B#FFFFFF#000000##FFFFFF
##64218B1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#034489
Tritanopia (blue-blind)
#5E3A54
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #64218b;
/* rgb */ color: rgb(100, 33, 139);
/* oklch */ color: oklch(40.5% 0.168 309.6);
Tailwind
colors: {
  custom: {
    50: '#9464ae',
    500: '#64218b',
    950: '#000000',
  },
}
SCSS
$custom: #64218b;
$custom-light: #9464ae;
$custom-dark: #000000;
JSON
{
  "hex": "#64218b",
  "rgb": {
    "r": 100,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 277.925,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40528,
    "c": 0.16784,
    "h": 309.6
  },
  "luminance": 0.05661
}

Semantic roles & 50–950 ramp

primary
#64218B
secondary
#76B94F
accent
#E5437F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #64218B

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

Preview Lab → · Contrast checker → · Palette generator →

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