#641F78#641F78

#641F78 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.151 H 317.6°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#641F78
RGBrgb(100, 31, 120)
HSLhsl(287, 59%, 30%)
HSVhsv(287, 74%, 47%)
CMYKcmyk(16.7%, 74.2%, 0%, 52.9%)
CIE-LABlab(26.86, 44.27, -36.38)
CIE-LCHlch(26.86, 57.30, 320.58°)
OKLaboklab(38.9% 0.1118 -0.1022)
OKLCHoklch(38.9% 0.151 317.6)
XYZxyz(9.1352, 5.0458, 18.2584)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641F78 #33781F
analogous
#381F78 #641F78 #781F60
triadic
#641F78 #78641F #1F7864
tetradic
#641F78 #78381F #33781F #1F6078
square
#641F78 #78381F #33781F #1F6078
split-complementary
#641F78 #60781F #1F7838
monochromatic
#140618 #3B1247 #641F78 #8D2CA9 #AF43CE

Accessibility & contrast

On white

10.45
#641F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#641F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641F78
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641F78#FFFFFF#000000##FFFFFF
##641F781.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7B
Deuteranopia (green-blind)
#224276
Tritanopia (blue-blind)
#633149
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #641f78;
/* rgb */ color: rgb(100, 31, 120);
/* oklch */ color: oklch(38.9% 0.151 317.6);
Tailwind
colors: {
  custom: {
    50: '#93629f',
    500: '#641f78',
    950: '#000000',
  },
}
SCSS
$custom: #641f78;
$custom-light: #93629f;
$custom-dark: #000000;
JSON
{
  "hex": "#641f78",
  "rgb": {
    "r": 100,
    "g": 31,
    "b": 120
  },
  "hsl": {
    "h": 286.517,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.389,
    "c": 0.15144,
    "h": 317.6
  },
  "luminance": 0.05045
}

Semantic roles & 50–950 ramp

primary
#641F78
secondary
#5EAB47
accent
#E24669
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #641F78

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

Preview Lab → · Contrast checker → · Palette generator →

#641F78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva