#641B79#641B79

#641B79 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.6% C 0.157 H 317.4°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#641B79
RGBrgb(100, 27, 121)
HSLhsl(287, 64%, 29%)
HSVhsv(287, 78%, 47%)
CMYKcmyk(17.4%, 77.7%, 0%, 52.5%)
CIE-LABlab(26.37, 46.08, -37.81)
CIE-LCHlch(26.37, 59.61, 320.63°)
OKLaboklab(38.57% 0.1158 -0.1064)
OKLCHoklch(38.57% 0.157 317.4)
XYZxyz(9.0982, 4.8741, 18.5470)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641B79 #30791B
analogous
#351B79 #641B79 #791B5F
triadic
#641B79 #79641B #1B7964
tetradic
#641B79 #79351B #30791B #1B5F79
square
#641B79 #79351B #30791B #1B5F79
split-complementary
#641B79 #5F791B #1B7935
monochromatic
#150619 #3B1047 #641B79 #8D26AB #B13BD3

Accessibility & contrast

On white

10.63
#641B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#641B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##641B79#FFFFFF#000000##FFFFFF
##641B791.0010.631.9710.63
#FFFFFF10.631.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7C
Deuteranopia (green-blind)
#1E4177
Tritanopia (blue-blind)
#632F49
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #641b79;
/* rgb */ color: rgb(100, 27, 121);
/* oklch */ color: oklch(38.6% 0.157 317.4);
Tailwind
colors: {
  custom: {
    50: '#9460a0',
    500: '#641b79',
    950: '#000000',
  },
}
SCSS
$custom: #641b79;
$custom-light: #9460a0;
$custom-dark: #000000;
JSON
{
  "hex": "#641b79",
  "rgb": {
    "r": 100,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 286.596,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38572,
    "c": 0.15722,
    "h": 317.4
  },
  "luminance": 0.04874
}

Semantic roles & 50–950 ramp

primary
#641B79
secondary
#5AAD43
accent
#E74166
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050F
muted
#7E797E

Preview Lab

Preview with #641B79

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

Preview Lab → · Contrast checker → · Palette generator →

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