#64219C#64219C

#64219C is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.185 H 303.9°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#64219C
RGBrgb(100, 33, 156)
HSLhsl(273, 65%, 37%)
HSVhsv(273, 79%, 61%)
CMYKcmyk(35.9%, 78.8%, 0%, 38.8%)
CIE-LABlab(29.91, 51.56, -53.85)
CIE-LCHlch(29.91, 74.55, 313.75°)
OKLaboklab(41.91% 0.1032 -0.1535)
OKLCHoklch(41.91% 0.185 303.9)
XYZxyz(11.7987, 6.1974, 32.0207)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64219C #599C21
analogous
#27219C #64219C #9C2197
triadic
#64219C #9C6421 #219C64
tetradic
#64219C #9C2721 #599C21 #21979C
square
#64219C #9C2721 #599C21 #21979C
split-complementary
#64219C #979C21 #219C27
monochromatic
#230C37 #441669 #64219C #842CCF #A15BDC

Accessibility & contrast

On white

9.38
#64219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#64219C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64219C
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64219C#FFFFFF#000000##FFFFFF
##64219C1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00469A
Tritanopia (blue-blind)
#59415E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #64219c;
/* rgb */ color: rgb(100, 33, 156);
/* oklch */ color: oklch(41.9% 0.185 303.9);
Tailwind
colors: {
  custom: {
    50: '#9664ba',
    500: '#64219c',
    950: '#000000',
  },
}
SCSS
$custom: #64219c;
$custom-light: #9664ba;
$custom-dark: #000000;
JSON
{
  "hex": "#64219c",
  "rgb": {
    "r": 100,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 272.683,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41914,
    "c": 0.18498,
    "h": 303.9
  },
  "luminance": 0.06197
}

Semantic roles & 50–950 ramp

primary
#64219C
secondary
#88C158
accent
#E8408C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #64219C

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

Preview Lab → · Contrast checker → · Palette generator →

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