#64428F#64428F

#64428F is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.4% C 0.124 H 302.1°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#64428F
RGBrgb(100, 66, 143)
HSLhsl(266, 37%, 41%)
HSVhsv(266, 54%, 56%)
CMYKcmyk(30.1%, 53.8%, 0%, 43.9%)
CIE-LABlab(35.18, 31.34, -37.41)
CIE-LCHlch(35.18, 48.80, 309.96°)
OKLaboklab(45.43% 0.0661 -0.1054)
OKLCHoklch(45.43% 0.124 302.1)
XYZxyz(12.1605, 8.5889, 26.9984)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64428F #6D8F42
analogous
#42468F #64428F #8A428F
triadic
#64428F #8F6442 #428F64
tetradic
#64428F #8F4246 #6D8F42 #428F8A
square
#64428F #8F4246 #6D8F42 #428F8A
split-complementary
#64428F #8F8A42 #468F42
monochromatic
#291B3B #472F65 #64428F #825BB3 #A285C7

Accessibility & contrast

On white

7.73
#64428F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#64428F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64428F
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64428F#FFFFFF#000000##FFFFFF
##64428F1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275292
Deuteranopia (green-blind)
#31528D
Tritanopia (blue-blind)
#5C5162
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #64428f;
/* rgb */ color: rgb(100, 66, 143);
/* oklch */ color: oklch(45.4% 0.124 302.1);
Tailwind
colors: {
  custom: {
    50: '#9377b0',
    500: '#64428f',
    950: '#000000',
  },
}
SCSS
$custom: #64428f;
$custom-light: #9377b0;
$custom-dark: #000000;
JSON
{
  "hex": "#64428f",
  "rgb": {
    "r": 100,
    "g": 66,
    "b": 143
  },
  "hsl": {
    "h": 266.494,
    "s": 36.842,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45426,
    "c": 0.12437,
    "h": 302.1
  },
  "luminance": 0.08589
}

Semantic roles & 50–950 ramp

primary
#64428F
secondary
#9AB17B
accent
#CD5B9B
background
#F9F7FA
surface
#F1EDF5
border
#CBC8CF
text
#0D0910
muted
#7E7B7F

Preview Lab

Preview with #64428F

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

Preview Lab → · Contrast checker → · Palette generator →

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