#64156A#64156A

#64156A is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.0% C 0.150 H 324.9°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#64156A
RGBrgb(100, 21, 106)
HSLhsl(296, 67%, 25%)
HSVhsv(296, 80%, 42%)
CMYKcmyk(5.7%, 80.2%, 0%, 58.4%)
CIE-LABlab(24.60, 45.27, -31.03)
CIE-LCHlch(24.60, 54.88, 325.57°)
OKLaboklab(36.98% 0.123 -0.0865)
OKLCHoklch(36.98% 0.15 324.9)
XYZxyz(8.1250, 4.2868, 14.0324)
Luminance0.0429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64156A #1B6A15
analogous
#3A156A #64156A #6A1545
triadic
#64156A #6A6415 #156A64
tetradic
#64156A #6A3A15 #1B6A15 #15456A
square
#64156A #6A3A15 #1B6A15 #15456A
split-complementary
#64156A #456A15 #156A3A
monochromatic
#18051A #340B37 #64156A #941F9D #C429D0

Accessibility & contrast

On white

11.31
#64156A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#64156A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64156A
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64156A#FFFFFF#000000##FFFFFF
##64156A1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#273E68
Tritanopia (blue-blind)
#66253F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #64156a;
/* rgb */ color: rgb(100, 21, 106);
/* oklch */ color: oklch(37.0% 0.150 324.9);
Tailwind
colors: {
  custom: {
    50: '#935d95',
    500: '#64156a',
    950: '#000000',
  },
}
SCSS
$custom: #64156a;
$custom-light: #935d95;
$custom-dark: #000000;
JSON
{
  "hex": "#64156a",
  "rgb": {
    "r": 100,
    "g": 21,
    "b": 106
  },
  "hsl": {
    "h": 295.765,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.36984,
    "c": 0.15036,
    "h": 324.9
  },
  "luminance": 0.04286
}

Semantic roles & 50–950 ramp

primary
#64156A
secondary
#41A13A
accent
#EA3E4A
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #64156A

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

Preview Lab → · Contrast checker → · Palette generator →

#64156A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva