#641B7E#641B7E

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

Color values

HEX#641B7E
RGBrgb(100, 27, 126)
HSLhsl(284, 65%, 30%)
HSVhsv(284, 79%, 49%)
CMYKcmyk(20.6%, 78.6%, 0%, 50.6%)
CIE-LABlab(26.73, 47.13, -40.39)
CIE-LCHlch(26.73, 62.07, 319.40°)
OKLaboklab(38.94% 0.1151 -0.1139)
OKLCHoklch(38.94% 0.162 315.3)
XYZxyz(9.4127, 4.9999, 20.2039)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641B7E #357E1B
analogous
#321B7E #641B7E #7E1B67
triadic
#641B7E #7E641B #1B7E64
tetradic
#641B7E #7E321B #357E1B #1B677E
square
#641B7E #7E321B #357E1B #1B677E
split-complementary
#641B7E #677E1B #1B7E32
monochromatic
#140519 #3C104C #641B7E #8C26B0 #AE3ED6

Accessibility & contrast

On white

10.50
#641B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#641B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641B7E
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641B7E#FFFFFF#000000##FFFFFF
##641B7E1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#17417C
Tritanopia (blue-blind)
#62314C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #641b7e;
/* rgb */ color: rgb(100, 27, 126);
/* oklch */ color: oklch(38.9% 0.162 315.3);
Tailwind
colors: {
  custom: {
    50: '#9460a4',
    500: '#641b7e',
    950: '#000000',
  },
}
SCSS
$custom: #641b7e;
$custom-light: #9460a4;
$custom-dark: #000000;
JSON
{
  "hex": "#641b7e",
  "rgb": {
    "r": 100,
    "g": 27,
    "b": 126
  },
  "hsl": {
    "h": 284.242,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.38943,
    "c": 0.16194,
    "h": 315.3
  },
  "luminance": 0.05
}

Semantic roles & 50–950 ramp

primary
#641B7E
secondary
#60B243
accent
#E8406C
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #641B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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