#64197B#64197B

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

Color values

HEX#64197B
RGBrgb(100, 25, 123)
HSLhsl(286, 66%, 29%)
HSVhsv(286, 80%, 48%)
CMYKcmyk(18.7%, 79.7%, 0%, 51.8%)
CIE-LABlab(26.26, 47.23, -39.26)
CIE-LCHlch(26.26, 61.42, 320.27°)
OKLaboklab(38.54% 0.1174 -0.1106)
OKLCHoklch(38.54% 0.161 316.7)
XYZxyz(9.1778, 4.8350, 19.1849)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64197B #307B19
analogous
#33197B #64197B #7B1961
triadic
#64197B #7B6419 #197B64
tetradic
#64197B #7B3319 #307B19 #19617B
square
#64197B #7B3319 #307B19 #19617B
split-complementary
#64197B #617B19 #197B33
monochromatic
#150519 #3B0F48 #64197B #8D23AE #B138D7

Accessibility & contrast

On white

10.68
#64197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#64197B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64197B
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64197B#FFFFFF#000000##FFFFFF
##64197B1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#1A4079
Tritanopia (blue-blind)
#632F49
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #64197b;
/* rgb */ color: rgb(100, 25, 123);
/* oklch */ color: oklch(38.5% 0.161 316.7);
Tailwind
colors: {
  custom: {
    50: '#945fa2',
    500: '#64197b',
    950: '#000000',
  },
}
SCSS
$custom: #64197b;
$custom-light: #945fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#64197b",
  "rgb": {
    "r": 100,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 285.918,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38538,
    "c": 0.1613,
    "h": 316.7
  },
  "luminance": 0.04835
}

Semantic roles & 50–950 ramp

primary
#64197B
secondary
#5AAF40
accent
#E93F67
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #64197B

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

Preview Lab → · Contrast checker → · Palette generator →

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