#64117E#64117E

#64117E is a dark, vivid purple. Relative luminance 0.046; OKLCH L 38.2% C 0.171 H 316.0°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#64117E
RGBrgb(100, 17, 126)
HSLhsl(286, 76%, 28%)
HSVhsv(286, 87%, 49%)
CMYKcmyk(20.6%, 86.5%, 0%, 50.6%)
CIE-LABlab(25.61, 50.38, -42.20)
CIE-LCHlch(25.61, 65.72, 320.04°)
OKLaboklab(38.16% 0.1232 -0.1192)
OKLCHoklch(38.16% 0.171 316)
XYZxyz(9.2213, 4.6170, 20.1400)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64117E #2B7E11
analogous
#2D117E #64117E #7E1161
triadic
#64117E #7E6411 #117E64
tetradic
#64117E #7E2D11 #2B7E11 #11617E
square
#64117E #7E2D11 #2B7E11 #11617E
split-complementary
#64117E #617E11 #117E2D
monochromatic
#15041B #390A48 #64117E #8F18B4 #B527E2

Accessibility & contrast

On white

10.92
#64117E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#64117E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64117E
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64117E#FFFFFF#000000##FFFFFF
##64117E1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#0D3F7C
Tritanopia (blue-blind)
#622D4A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #64117e;
/* rgb */ color: rgb(100, 17, 126);
/* oklch */ color: oklch(38.2% 0.171 316.0);
Tailwind
colors: {
  custom: {
    50: '#945ca4',
    500: '#64117e',
    950: '#000000',
  },
}
SCSS
$custom: #64117e;
$custom-light: #945ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#64117e",
  "rgb": {
    "r": 100,
    "g": 17,
    "b": 126
  },
  "hsl": {
    "h": 285.688,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38156,
    "c": 0.17145,
    "h": 316
  },
  "luminance": 0.04617
}

Semantic roles & 50–950 ramp

primary
#64117E
secondary
#55B437
accent
#F33562
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #64117E

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

Preview Lab → · Contrast checker → · Palette generator →

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