#64219F#64219F

#64219F is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.2% C 0.188 H 303.0°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#64219F
RGBrgb(100, 33, 159)
HSLhsl(272, 66%, 38%)
HSVhsv(272, 79%, 62%)
CMYKcmyk(37.1%, 79.2%, 0%, 37.6%)
CIE-LABlab(30.16, 52.27, -55.27)
CIE-LCHlch(30.16, 76.07, 313.40°)
OKLaboklab(42.17% 0.1024 -0.1577)
OKLCHoklch(42.17% 0.188 303)
XYZxyz(12.0559, 6.3002, 33.3751)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64219F #5C9F21
analogous
#25219F #64219F #9F219B
triadic
#64219F #9F6421 #219F64
tetradic
#64219F #9F2521 #5C9F21 #219B9F
square
#64219F #9F2521 #5C9F21 #219B9F
split-complementary
#64219F #9B9F21 #219F25
monochromatic
#240C3A #44166C #64219F #842CD2 #A15DDD

Accessibility & contrast

On white

9.29
#64219F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#64219F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64219F
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64219F#FFFFFF#000000##FFFFFF
##64219F1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#584360
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #64219f;
/* rgb */ color: rgb(100, 33, 159);
/* oklch */ color: oklch(42.2% 0.188 303.0);
Tailwind
colors: {
  custom: {
    50: '#9665bc',
    500: '#64219f',
    950: '#000000',
  },
}
SCSS
$custom: #64219f;
$custom-light: #9665bc;
$custom-dark: #000000;
JSON
{
  "hex": "#64219f",
  "rgb": {
    "r": 100,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 271.905,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42169,
    "c": 0.188,
    "h": 303
  },
  "luminance": 0.063
}

Semantic roles & 50–950 ramp

primary
#64219F
secondary
#8BC25A
accent
#E93F8F
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #64219F

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

Preview Lab → · Contrast checker → · Palette generator →

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