#641B71#641B71

#641B71 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.0% C 0.150 H 321.1°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#641B71
RGBrgb(100, 27, 113)
HSLhsl(291, 61%, 27%)
HSVhsv(291, 76%, 44%)
CMYKcmyk(11.5%, 76.1%, 0%, 55.7%)
CIE-LABlab(25.82, 44.45, -33.59)
CIE-LCHlch(25.82, 55.71, 322.92°)
OKLaboklab(38% 0.1166 -0.094)
OKLCHoklch(38% 0.15 321.1)
XYZxyz(8.6278, 4.6859, 16.0696)
Luminance0.0469 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641B71 #28711B
analogous
#391B71 #641B71 #711B53
triadic
#641B71 #71641B #1B7164
tetradic
#641B71 #71391B #28711B #1B5371
square
#641B71 #71391B #28711B #1B5371
split-complementary
#641B71 #53711B #1B7139
monochromatic
#160619 #380F40 #641B71 #9027A2 #B837CF

Accessibility & contrast

On white

10.84
#641B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#641B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641B71
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641B71#FFFFFF#000000##FFFFFF
##641B711.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#25406F
Tritanopia (blue-blind)
#652B44
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #641b71;
/* rgb */ color: rgb(100, 27, 113);
/* oklch */ color: oklch(38.0% 0.150 321.1);
Tailwind
colors: {
  custom: {
    50: '#93609a',
    500: '#641b71',
    950: '#000000',
  },
}
SCSS
$custom: #641b71;
$custom-light: #93609a;
$custom-dark: #000000;
JSON
{
  "hex": "#641b71",
  "rgb": {
    "r": 100,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 290.93,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38004,
    "c": 0.14978,
    "h": 321.1
  },
  "luminance": 0.04685
}

Semantic roles & 50–950 ramp

primary
#641B71
secondary
#51A642
accent
#E5435C
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0D050E
muted
#7E797E

Preview Lab

Preview with #641B71

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

Preview Lab → · Contrast checker → · Palette generator →

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