#641780#641780

#641780 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.168 H 314.8°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#641780
RGBrgb(100, 23, 128)
HSLhsl(284, 70%, 30%)
HSVhsv(284, 82%, 50%)
CMYKcmyk(21.9%, 82%, 0%, 49.8%)
CIE-LABlab(26.39, 48.97, -42.21)
CIE-LCHlch(26.39, 64.65, 319.24°)
OKLaboklab(38.75% 0.1183 -0.1192)
OKLCHoklch(38.75% 0.168 314.8)
XYZxyz(9.4576, 4.8810, 20.8618)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641780 #338017
analogous
#301780 #641780 #801768
triadic
#641780 #806417 #178064
tetradic
#641780 #803017 #338017 #176880
square
#641780 #803017 #338017 #176880
split-complementary
#641780 #688017 #178030
monochromatic
#14051A #3B0E4C #641780 #8D20B4 #AF36DB

Accessibility & contrast

On white

10.63
#641780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#641780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641780
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641780#FFFFFF#000000##FFFFFF
##6417801.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A83
Deuteranopia (green-blind)
#0F407E
Tritanopia (blue-blind)
#61304C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #641780;
/* rgb */ color: rgb(100, 23, 128);
/* oklch */ color: oklch(38.8% 0.168 314.8);
Tailwind
colors: {
  custom: {
    50: '#945fa5',
    500: '#641780',
    950: '#000000',
  },
}
SCSS
$custom: #641780;
$custom-light: #945fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#641780",
  "rgb": {
    "r": 100,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 284,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3875,
    "c": 0.16794,
    "h": 314.8
  },
  "luminance": 0.04881
}

Semantic roles & 50–950 ramp

primary
#641780
secondary
#5EB43E
accent
#EC3B6B
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #641780

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

Preview Lab → · Contrast checker → · Palette generator →

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