#64288E#64288E

#64288E is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.5% C 0.162 H 307.7°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#64288E
RGBrgb(100, 40, 142)
HSLhsl(275, 56%, 36%)
HSVhsv(275, 72%, 56%)
CMYKcmyk(29.6%, 71.8%, 0%, 44.3%)
CIE-LABlab(29.86, 45.21, -45.33)
CIE-LCHlch(29.86, 64.02, 314.92°)
OKLaboklab(41.54% 0.0992 -0.1285)
OKLCHoklch(41.54% 0.162 307.7)
XYZxyz(10.8958, 6.1801, 26.2048)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64288E #528E28
analogous
#31288E #64288E #8E2885
triadic
#64288E #8E6428 #288E64
tetradic
#64288E #8E3128 #528E28 #28858E
square
#64288E #8E3128 #528E28 #28858E
split-complementary
#64288E #858E28 #288E31
monochromatic
#210D2F #421B5E #64288E #8635BE #A25FD2

Accessibility & contrast

On white

9.39
#64288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #64288E
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64288E#FFFFFF#000000##FFFFFF
##64288E1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#0B478C
Tritanopia (blue-blind)
#5D3F58
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #64288e;
/* rgb */ color: rgb(100, 40, 142);
/* oklch */ color: oklch(41.5% 0.162 307.7);
Tailwind
colors: {
  custom: {
    50: '#9467b0',
    500: '#64288e',
    950: '#000000',
  },
}
SCSS
$custom: #64288e;
$custom-light: #9467b0;
$custom-dark: #000000;
JSON
{
  "hex": "#64288e",
  "rgb": {
    "r": 100,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 275.294,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41537,
    "c": 0.16237,
    "h": 307.7
  },
  "luminance": 0.0618
}

Semantic roles & 50–950 ramp

primary
#64288E
secondary
#81B75B
accent
#DF4887
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #64288E

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

Preview Lab → · Contrast checker → · Palette generator →

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