#64197E#64197E

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

Color values

HEX#64197E
RGBrgb(100, 25, 126)
HSLhsl(285, 67%, 30%)
HSVhsv(285, 80%, 49%)
CMYKcmyk(20.6%, 80.2%, 0%, 50.6%)
CIE-LABlab(26.48, 47.86, -40.80)
CIE-LCHlch(26.48, 62.89, 319.55°)
OKLaboklab(38.76% 0.1169 -0.1151)
OKLCHoklch(38.76% 0.164 315.4)
XYZxyz(9.3684, 4.9113, 20.1891)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64197E #337E19
analogous
#31197E #64197E #7E1966
triadic
#64197E #7E6419 #197E64
tetradic
#64197E #7E3119 #337E19 #19667E
square
#64197E #7E3119 #337E19 #19667E
split-complementary
#64197E #667E19 #197E31
monochromatic
#14051A #3B0F4B #64197E #8D23B1 #AF3AD8

Accessibility & contrast

On white

10.59
#64197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#64197E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64197E
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64197E#FFFFFF#000000##FFFFFF
##64197E1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#15417C
Tritanopia (blue-blind)
#62304B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #64197e;
/* rgb */ color: rgb(100, 25, 126);
/* oklch */ color: oklch(38.8% 0.164 315.4);
Tailwind
colors: {
  custom: {
    50: '#945fa4',
    500: '#64197e',
    950: '#000000',
  },
}
SCSS
$custom: #64197e;
$custom-light: #945fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#64197e",
  "rgb": {
    "r": 100,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 284.554,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38764,
    "c": 0.16408,
    "h": 315.4
  },
  "luminance": 0.04911
}

Semantic roles & 50–950 ramp

primary
#64197E
secondary
#5EB241
accent
#EA3E6A
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #64197E

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

Preview Lab → · Contrast checker → · Palette generator →

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