#64289E#64289E

#64289E is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.8% C 0.179 H 302.5°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#64289E
RGBrgb(100, 40, 158)
HSLhsl(271, 60%, 39%)
HSVhsv(271, 75%, 62%)
CMYKcmyk(36.7%, 74.7%, 0%, 38%)
CIE-LABlab(31.10, 49.08, -53.12)
CIE-LCHlch(31.10, 72.32, 312.74°)
OKLaboklab(42.81% 0.0963 -0.1514)
OKLCHoklch(42.81% 0.179 302.5)
XYZxyz(12.1844, 6.6955, 32.9916)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64289E #629E28
analogous
#29289E #64289E #9E289D
triadic
#64289E #9E6428 #289E64
tetradic
#64289E #9E2928 #629E28 #289D9E
square
#64289E #9E2928 #629E28 #289D9E
split-complementary
#64289E #9D9E28 #289E29
monochromatic
#260F3C #451C6D #64289E #8337CC #A168D9

Accessibility & contrast

On white

8.98
#64289E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#64289E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64289E
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64289E#FFFFFF#000000##FFFFFF
##64289E1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#584561
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #64289e;
/* rgb */ color: rgb(100, 40, 158);
/* oklch */ color: oklch(42.8% 0.179 302.5);
Tailwind
colors: {
  custom: {
    50: '#9668bb',
    500: '#64289e',
    950: '#000000',
  },
}
SCSS
$custom: #64289e;
$custom-light: #9668bb;
$custom-dark: #000000;
JSON
{
  "hex": "#64289e",
  "rgb": {
    "r": 100,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 270.508,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42807,
    "c": 0.17947,
    "h": 302.5
  },
  "luminance": 0.06696
}

Semantic roles & 50–950 ramp

primary
#64289E
secondary
#90BF63
accent
#E34593
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #64289E

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

Preview Lab → · Contrast checker → · Palette generator →

#64289E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva