#64218C#64218C

#64218C is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.169 H 309.2°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#64218C
RGBrgb(100, 33, 140)
HSLhsl(278, 62%, 34%)
HSVhsv(278, 76%, 55%)
CMYKcmyk(28.6%, 76.4%, 0%, 45.1%)
CIE-LABlab(28.62, 47.84, -46.11)
CIE-LCHlch(28.62, 66.44, 316.05°)
OKLaboklab(40.61% 0.1068 -0.1308)
OKLCHoklch(40.61% 0.169 309.2)
XYZxyz(10.5321, 5.6907, 25.3494)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64218C #498C21
analogous
#2F218C #64218C #8C217F
triadic
#64218C #8C6421 #218C64
tetradic
#64218C #8C2F21 #498C21 #217F8C
square
#64218C #8C2F21 #498C21 #217F8C
split-complementary
#64218C #7F8C21 #218C2F
monochromatic
#1D0A29 #41155A #64218C #872DBE #A451D6

Accessibility & contrast

On white

9.82
#64218C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #64218C
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64218C#FFFFFF#000000##FFFFFF
##64218C1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418F
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#5E3A55
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #64218c;
/* rgb */ color: rgb(100, 33, 140);
/* oklch */ color: oklch(40.6% 0.169 309.2);
Tailwind
colors: {
  custom: {
    50: '#9464ae',
    500: '#64218c',
    950: '#000000',
  },
}
SCSS
$custom: #64218c;
$custom-light: #9464ae;
$custom-dark: #000000;
JSON
{
  "hex": "#64218c",
  "rgb": {
    "r": 100,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 277.57,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40607,
    "c": 0.16884,
    "h": 309.2
  },
  "luminance": 0.0569
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #64218C

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

Preview Lab → · Contrast checker → · Palette generator →

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