#64197F#64197F

#64197F is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.165 H 315.0°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#64197F
RGBrgb(100, 25, 127)
HSLhsl(284, 67%, 30%)
HSVhsv(284, 80%, 50%)
CMYKcmyk(21.3%, 80.3%, 0%, 50.2%)
CIE-LABlab(26.56, 48.07, -41.32)
CIE-LCHlch(26.56, 63.38, 319.32°)
OKLaboklab(38.84% 0.1167 -0.1166)
OKLCHoklch(38.84% 0.165 315)
XYZxyz(9.4333, 4.9372, 20.5306)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64197F #347F19
analogous
#31197F #64197F #7F1967
triadic
#64197F #7F6419 #197F64
tetradic
#64197F #7F3119 #347F19 #19677F
square
#64197F #7F3119 #347F19 #19677F
split-complementary
#64197F #677F19 #197F31
monochromatic
#14051A #3C0F4C #64197F #8C23B2 #AE3AD8

Accessibility & contrast

On white

10.57
#64197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#64197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64197F
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64197F#FFFFFF#000000##FFFFFF
##64197F1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#14417D
Tritanopia (blue-blind)
#62314C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #64197f;
/* rgb */ color: rgb(100, 25, 127);
/* oklch */ color: oklch(38.8% 0.165 315.0);
Tailwind
colors: {
  custom: {
    50: '#945fa5',
    500: '#64197f',
    950: '#000000',
  },
}
SCSS
$custom: #64197f;
$custom-light: #945fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#64197f",
  "rgb": {
    "r": 100,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 284.118,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3884,
    "c": 0.16501,
    "h": 315
  },
  "luminance": 0.04937
}

Semantic roles & 50–950 ramp

primary
#64197F
secondary
#5FB341
accent
#EA3E6B
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #64197F

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

Preview Lab → · Contrast checker → · Palette generator →

#64197F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva