#641777#641777

#641777 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.1% C 0.160 H 318.6°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#641777
RGBrgb(100, 23, 119)
HSLhsl(288, 68%, 28%)
HSVhsv(288, 81%, 47%)
CMYKcmyk(16%, 80.7%, 0%, 53.3%)
CIE-LABlab(25.73, 47.12, -37.58)
CIE-LCHlch(25.73, 60.27, 321.43°)
OKLaboklab(38.07% 0.1198 -0.1056)
OKLCHoklch(38.07% 0.16 318.6)
XYZxyz(8.8912, 4.6545, 17.8792)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641777 #2A7717
analogous
#341777 #641777 #77175A
triadic
#641777 #776417 #177764
tetradic
#641777 #773417 #2A7717 #175A77
square
#641777 #773417 #2A7717 #175A77
split-complementary
#641777 #5A7717 #177734
monochromatic
#16051A #390D44 #641777 #8F21AA #B631D7

Accessibility & contrast

On white

10.88
#641777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#641777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641777
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641777#FFFFFF#000000##FFFFFF
##6417771.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387A
Deuteranopia (green-blind)
#1D3F75
Tritanopia (blue-blind)
#642C47
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #641777;
/* rgb */ color: rgb(100, 23, 119);
/* oklch */ color: oklch(38.1% 0.160 318.6);
Tailwind
colors: {
  custom: {
    50: '#945e9f',
    500: '#641777',
    950: '#000000',
  },
}
SCSS
$custom: #641777;
$custom-light: #945e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#641777",
  "rgb": {
    "r": 100,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 288.125,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3807,
    "c": 0.15974,
    "h": 318.6
  },
  "luminance": 0.04654
}

Semantic roles & 50–950 ramp

primary
#641777
secondary
#53AC3E
accent
#EA3D60
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #641777

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

Preview Lab → · Contrast checker → · Palette generator →

#641777 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva