#64117F#64117F

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

Color values

HEX#64117F
RGBrgb(100, 17, 127)
HSLhsl(285, 76%, 28%)
HSVhsv(285, 87%, 50%)
CMYKcmyk(21.3%, 86.6%, 0%, 50.2%)
CIE-LABlab(25.69, 50.58, -42.71)
CIE-LCHlch(25.69, 66.20, 319.82°)
OKLaboklab(38.24% 0.123 -0.1207)
OKLCHoklch(38.24% 0.172 315.5)
XYZxyz(9.2861, 4.6429, 20.4816)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#64117F #2C7F11
analogous
#2D117F #64117F #7F1163
triadic
#64117F #7F6411 #117F64
tetradic
#64117F #7F2D11 #2C7F11 #11637F
square
#64117F #7F2D11 #2C7F11 #11637F
split-complementary
#64117F #637F11 #117F2D
monochromatic
#15041B #390A49 #64117F #8E18B5 #B528E2

Accessibility & contrast

On white

10.89
#64117F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#64117F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #64117F
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##64117F#FFFFFF#000000##FFFFFF
##64117F1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #64117f;
/* rgb */ color: rgb(100, 17, 127);
/* oklch */ color: oklch(38.2% 0.172 315.5);
Tailwind
colors: {
  custom: {
    50: '#945da5',
    500: '#64117f',
    950: '#000000',
  },
}
SCSS
$custom: #64117f;
$custom-light: #945da5;
$custom-dark: #000000;
JSON
{
  "hex": "#64117f",
  "rgb": {
    "r": 100,
    "g": 17,
    "b": 127
  },
  "hsl": {
    "h": 285.273,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38235,
    "c": 0.17232,
    "h": 315.5
  },
  "luminance": 0.04643
}

Semantic roles & 50–950 ramp

primary
#64117F
secondary
#56B537
accent
#F33564
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #64117F

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

Preview Lab → · Contrast checker → · Palette generator →

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