#641766#641766

#641766 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.9% C 0.145 H 326.9°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#641766
RGBrgb(100, 23, 102)
HSLhsl(298, 63%, 25%)
HSVhsv(298, 77%, 40%)
CMYKcmyk(2%, 77.5%, 0%, 60%)
CIE-LABlab(24.58, 43.83, -28.45)
CIE-LCHlch(24.58, 52.26, 327.01°)
OKLaboklab(36.89% 0.1213 -0.079)
OKLCHoklch(36.89% 0.145 326.9)
XYZxyz(7.9601, 4.2820, 12.9750)
Luminance0.0428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641766 #196617
analogous
#3D1766 #641766 #661741
triadic
#641766 #666417 #176664
tetradic
#641766 #663D17 #196617 #174166
square
#641766 #663D17 #196617 #174166
split-complementary
#641766 #416617 #17663D
monochromatic
#180619 #330C34 #641766 #952298 #C62ECA

Accessibility & contrast

On white

11.31
#641766 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#641766 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641766
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641766#FFFFFF#000000##FFFFFF
##6417661.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043468
Deuteranopia (green-blind)
#2B3E64
Tritanopia (blue-blind)
#67243D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #641766;
/* rgb */ color: rgb(100, 23, 102);
/* oklch */ color: oklch(36.9% 0.145 326.9);
Tailwind
colors: {
  custom: {
    50: '#935d92',
    500: '#641766',
    950: '#000000',
  },
}
SCSS
$custom: #641766;
$custom-light: #935d92;
$custom-dark: #000000;
JSON
{
  "hex": "#641766",
  "rgb": {
    "r": 100,
    "g": 23,
    "b": 102
  },
  "hsl": {
    "h": 298.481,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.36891,
    "c": 0.1447,
    "h": 326.9
  },
  "luminance": 0.04281
}

Semantic roles & 50–950 ramp

primary
#641766
secondary
#3F9C3C
accent
#E64246
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #641766

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

Preview Lab → · Contrast checker → · Palette generator →

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