#64288B#64288B

#64288B is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.3% C 0.159 H 308.7°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#64288B
RGBrgb(100, 40, 139)
HSLhsl(276, 55%, 35%)
HSVhsv(276, 71%, 55%)
CMYKcmyk(28.1%, 71.2%, 0%, 45.5%)
CIE-LABlab(29.64, 44.50, -43.83)
CIE-LCHlch(29.64, 62.46, 315.43°)
OKLaboklab(41.31% 0.0996 -0.1241)
OKLCHoklch(41.31% 0.159 308.7)
XYZxyz(10.6736, 6.0912, 25.0345)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64288B #4F8B28
analogous
#33288B #64288B #8B2880
triadic
#64288B #8B6428 #288B64
tetradic
#64288B #8B3328 #4F8B28 #28808B
square
#64288B #8B3328 #4F8B28 #28808B
split-complementary
#64288B #808B28 #288B33
monochromatic
#200D2C #421A5B #64288B #8636BB #A35DD0

Accessibility & contrast

On white

9.47
#64288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#64288B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64288B
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64288B#FFFFFF#000000##FFFFFF
##64288B1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#124789
Tritanopia (blue-blind)
#5E3E56
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #64288b;
/* rgb */ color: rgb(100, 40, 139);
/* oklch */ color: oklch(41.3% 0.159 308.7);
Tailwind
colors: {
  custom: {
    50: '#9467ad',
    500: '#64288b',
    950: '#000000',
  },
}
SCSS
$custom: #64288b;
$custom-light: #9467ad;
$custom-dark: #000000;
JSON
{
  "hex": "#64288b",
  "rgb": {
    "r": 100,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 276.364,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4131,
    "c": 0.15916,
    "h": 308.7
  },
  "luminance": 0.06091
}

Semantic roles & 50–950 ramp

primary
#64288B
secondary
#7EB659
accent
#DF4984
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #64288B

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

Preview Lab → · Contrast checker → · Palette generator →

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