#64288F#64288F

#64288F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.6% C 0.163 H 307.3°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#64288F
RGBrgb(100, 40, 143)
HSLhsl(275, 56%, 36%)
HSVhsv(275, 72%, 56%)
CMYKcmyk(30.1%, 72%, 0%, 43.9%)
CIE-LABlab(29.94, 45.45, -45.83)
CIE-LCHlch(29.94, 64.54, 314.76°)
OKLaboklab(41.61% 0.0991 -0.13)
OKLCHoklch(41.61% 0.163 307.3)
XYZxyz(10.9712, 6.2102, 26.6020)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64288F #538F28
analogous
#30288F #64288F #8F2886
triadic
#64288F #8F6428 #288F64
tetradic
#64288F #8F3028 #538F28 #28868F
square
#64288F #8F3028 #538F28 #28868F
split-complementary
#64288F #868F28 #288F30
monochromatic
#210D2F #431B5F #64288F #8535BF #A25FD2

Accessibility & contrast

On white

9.37
#64288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#64288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64288F
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64288F#FFFFFF#000000##FFFFFF
##64288F1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#08478D
Tritanopia (blue-blind)
#5D3F59
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #64288f;
/* rgb */ color: rgb(100, 40, 143);
/* oklch */ color: oklch(41.6% 0.163 307.3);
Tailwind
colors: {
  custom: {
    50: '#9467b0',
    500: '#64288f',
    950: '#000000',
  },
}
SCSS
$custom: #64288f;
$custom-light: #9467b0;
$custom-dark: #000000;
JSON
{
  "hex": "#64288f",
  "rgb": {
    "r": 100,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 274.951,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41614,
    "c": 0.16345,
    "h": 307.3
  },
  "luminance": 0.0621
}

Semantic roles & 50–950 ramp

primary
#64288F
secondary
#82B85B
accent
#E04887
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #64288F

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

Preview Lab → · Contrast checker → · Palette generator →

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