#641A7F#641A7F

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

Color values

HEX#641A7F
RGBrgb(100, 26, 127)
HSLhsl(284, 66%, 30%)
HSVhsv(284, 80%, 50%)
CMYKcmyk(21.3%, 79.5%, 0%, 50.2%)
CIE-LABlab(26.68, 47.71, -41.11)
CIE-LCHlch(26.68, 62.98, 319.25°)
OKLaboklab(38.93% 0.1158 -0.116)
OKLCHoklch(38.93% 0.164 314.9)
XYZxyz(9.4551, 4.9808, 20.5379)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641A7F #357F1A
analogous
#311A7F #641A7F #7F1A68
triadic
#641A7F #7F641A #1A7F64
tetradic
#641A7F #7F311A #357F1A #1A687F
square
#641A7F #7F311A #357F1A #1A687F
split-complementary
#641A7F #687F1A #1A7F31
monochromatic
#140519 #3C104C #641A7F #8C24B2 #AE3CD7

Accessibility & contrast

On white

10.52
#641A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #641A7F
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641A7F#FFFFFF#000000##FFFFFF
##641A7F1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#15417D
Tritanopia (blue-blind)
#62314C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #641a7f;
/* rgb */ color: rgb(100, 26, 127);
/* oklch */ color: oklch(38.9% 0.164 314.9);
Tailwind
colors: {
  custom: {
    50: '#9460a5',
    500: '#641a7f',
    950: '#000000',
  },
}
SCSS
$custom: #641a7f;
$custom-light: #9460a5;
$custom-dark: #000000;
JSON
{
  "hex": "#641a7f",
  "rgb": {
    "r": 100,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 283.96,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.38928,
    "c": 0.16396,
    "h": 314.9
  },
  "luminance": 0.0498
}

Semantic roles & 50–950 ramp

primary
#641A7F
secondary
#60B342
accent
#E93F6C
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #641A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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