#64197A#64197A

#64197A is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.5% C 0.160 H 317.1°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#64197A
RGBrgb(100, 25, 122)
HSLhsl(286, 66%, 29%)
HSVhsv(286, 80%, 48%)
CMYKcmyk(18%, 79.5%, 0%, 52.2%)
CIE-LABlab(26.19, 47.03, -38.74)
CIE-LCHlch(26.19, 60.93, 320.52°)
OKLaboklab(38.46% 0.1176 -0.1091)
OKLCHoklch(38.46% 0.16 317.1)
XYZxyz(9.1155, 4.8101, 18.8569)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64197A #2F7A19
analogous
#34197A #64197A #7A1960
triadic
#64197A #7A6419 #197A64
tetradic
#64197A #7A3419 #2F7A19 #19607A
square
#64197A #7A3419 #2F7A19 #19607A
split-complementary
#64197A #607A19 #197A34
monochromatic
#150519 #3A0F47 #64197A #8E23AD #B237D6

Accessibility & contrast

On white

10.70
#64197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#64197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64197A
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64197A#FFFFFF#000000##FFFFFF
##64197A1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#1B4078
Tritanopia (blue-blind)
#632E49
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #64197a;
/* rgb */ color: rgb(100, 25, 122);
/* oklch */ color: oklch(38.5% 0.160 317.1);
Tailwind
colors: {
  custom: {
    50: '#945fa1',
    500: '#64197a',
    950: '#000000',
  },
}
SCSS
$custom: #64197a;
$custom-light: #945fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#64197a",
  "rgb": {
    "r": 100,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 286.392,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38464,
    "c": 0.16037,
    "h": 317.1
  },
  "luminance": 0.0481
}

Semantic roles & 50–950 ramp

primary
#64197A
secondary
#59AF40
accent
#E93F65
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #64197A

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

Preview Lab → · Contrast checker → · Palette generator →

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