#64219B#64219B

#64219B is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.184 H 304.2°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#64219B
RGBrgb(100, 33, 155)
HSLhsl(273, 65%, 37%)
HSVhsv(273, 79%, 61%)
CMYKcmyk(35.5%, 78.7%, 0%, 39.2%)
CIE-LABlab(29.82, 51.32, -53.38)
CIE-LCHlch(29.82, 74.05, 313.87°)
OKLaboklab(41.83% 0.1034 -0.1521)
OKLCHoklch(41.83% 0.184 304.2)
XYZxyz(11.7144, 6.1636, 31.5765)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64219B #589B21
analogous
#27219B #64219B #9B2195
triadic
#64219B #9B6421 #219B64
tetradic
#64219B #9B2721 #589B21 #21959B
square
#64219B #9B2721 #589B21 #21959B
split-complementary
#64219B #959B21 #219B27
monochromatic
#230C36 #431669 #64219B #852CCD #A25ADC

Accessibility & contrast

On white

9.41
#64219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#64219B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64219B
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64219B#FFFFFF#000000##FFFFFF
##64219B1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #64219b;
/* rgb */ color: rgb(100, 33, 155);
/* oklch */ color: oklch(41.8% 0.184 304.2);
Tailwind
colors: {
  custom: {
    50: '#9664b9',
    500: '#64219b',
    950: '#000000',
  },
}
SCSS
$custom: #64219b;
$custom-light: #9664b9;
$custom-dark: #000000;
JSON
{
  "hex": "#64219b",
  "rgb": {
    "r": 100,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 272.951,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41829,
    "c": 0.18397,
    "h": 304.2
  },
  "luminance": 0.06164
}

Semantic roles & 50–950 ramp

primary
#64219B
secondary
#87C058
accent
#E8408C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #64219B

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

Preview Lab → · Contrast checker → · Palette generator →

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