#641F7A#641F7A

#641F7A is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.0% C 0.153 H 316.7°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#641F7A
RGBrgb(100, 31, 122)
HSLhsl(285, 59%, 30%)
HSVhsv(285, 75%, 48%)
CMYKcmyk(18%, 74.6%, 0%, 52.2%)
CIE-LABlab(27.00, 44.69, -37.43)
CIE-LCHlch(27.00, 58.30, 320.05°)
OKLaboklab(39.04% 0.1116 -0.1053)
OKLCHoklch(39.04% 0.153 316.7)
XYZxyz(9.2578, 5.0948, 18.9043)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641F7A #357A1F
analogous
#371F7A #641F7A #7A1F62
triadic
#641F7A #7A641F #1F7A64
tetradic
#641F7A #7A371F #357A1F #1F627A
square
#641F7A #7A371F #357A1F #1F627A
split-complementary
#641F7A #627A1F #1F7A37
monochromatic
#140618 #3C1349 #641F7A #8C2BAB #AE44CF

Accessibility & contrast

On white

10.40
#641F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#641F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641F7A
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641F7A#FFFFFF#000000##FFFFFF
##641F7A1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7D
Deuteranopia (green-blind)
#204278
Tritanopia (blue-blind)
#63324A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #641f7a;
/* rgb */ color: rgb(100, 31, 122);
/* oklch */ color: oklch(39.0% 0.153 316.7);
Tailwind
colors: {
  custom: {
    50: '#9362a1',
    500: '#641f7a',
    950: '#000000',
  },
}
SCSS
$custom: #641f7a;
$custom-light: #9362a1;
$custom-dark: #000000;
JSON
{
  "hex": "#641f7a",
  "rgb": {
    "r": 100,
    "g": 31,
    "b": 122
  },
  "hsl": {
    "h": 285.495,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.39043,
    "c": 0.15339,
    "h": 316.7
  },
  "luminance": 0.05094
}

Semantic roles & 50–950 ramp

primary
#641F7A
secondary
#60AD47
accent
#E3456B
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0D050F
muted
#7E7A7F

Preview Lab

Preview with #641F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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