#64188A#64188A

#64188A is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.6% C 0.176 H 310.8°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#64188A
RGBrgb(100, 24, 138)
HSLhsl(280, 70%, 32%)
HSVhsv(280, 83%, 54%)
CMYKcmyk(27.5%, 82.6%, 0%, 45.9%)
CIE-LABlab(27.29, 50.76, -47.02)
CIE-LCHlch(27.29, 69.19, 317.19°)
OKLaboklab(39.63% 0.1152 -0.1334)
OKLCHoklch(39.63% 0.176 310.8)
XYZxyz(10.1687, 5.1978, 24.5074)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64188A #3E8A18
analogous
#2B188A #64188A #8A1877
triadic
#64188A #8A6418 #188A64
tetradic
#64188A #8A2B18 #3E8A18 #18778A
square
#64188A #8A2B18 #3E8A18 #18778A
split-complementary
#64188A #778A18 #188A2B
monochromatic
#180622 #3E0F56 #64188A #8A21BE #A93FDE

Accessibility & contrast

On white

10.30
#64188A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#64188A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64188A
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64188A#FFFFFF#000000##FFFFFF
##64188A1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#004288
Tritanopia (blue-blind)
#5F3552
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #64188a;
/* rgb */ color: rgb(100, 24, 138);
/* oklch */ color: oklch(39.6% 0.176 310.8);
Tailwind
colors: {
  custom: {
    50: '#9560ad',
    500: '#64188a',
    950: '#000000',
  },
}
SCSS
$custom: #64188a;
$custom-light: #9560ad;
$custom-dark: #000000;
JSON
{
  "hex": "#64188a",
  "rgb": {
    "r": 100,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 280,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39625,
    "c": 0.17624,
    "h": 310.8
  },
  "luminance": 0.05198
}

Semantic roles & 50–950 ramp

primary
#64188A
secondary
#6ABD40
accent
#ED3B76
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #64188A

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

Preview Lab → · Contrast checker → · Palette generator →

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