#641FA1#641FA1

#641FA1 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.2% C 0.192 H 302.6°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#641FA1
RGBrgb(100, 31, 161)
HSLhsl(272, 68%, 38%)
HSVhsv(272, 81%, 63%)
CMYKcmyk(37.9%, 80.7%, 0%, 36.9%)
CIE-LABlab(30.07, 53.50, -56.63)
CIE-LCHlch(30.07, 77.91, 313.37°)
OKLaboklab(42.16% 0.1034 -0.1617)
OKLCHoklch(42.16% 0.192 302.6)
XYZxyz(12.1770, 6.2625, 34.2786)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641FA1 #5CA11F
analogous
#231FA1 #641FA1 #A11F9D
triadic
#641FA1 #A1641F #1FA164
tetradic
#641FA1 #A1231F #5CA11F #1F9DA1
square
#641FA1 #A1231F #5CA11F #1F9DA1
split-complementary
#641FA1 #9DA11F #1FA123
monochromatic
#240B3A #44156E #641FA1 #8429D4 #A15BDF

Accessibility & contrast

On white

9.32
#641FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#641FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641FA1
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641FA1#FFFFFF#000000##FFFFFF
##641FA11.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#00469F
Tritanopia (blue-blind)
#574361
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #641fa1;
/* rgb */ color: rgb(100, 31, 161);
/* oklch */ color: oklch(42.2% 0.192 302.6);
Tailwind
colors: {
  custom: {
    50: '#9664be',
    500: '#641fa1',
    950: '#000000',
  },
}
SCSS
$custom: #641fa1;
$custom-light: #9664be;
$custom-dark: #000000;
JSON
{
  "hex": "#641fa1",
  "rgb": {
    "r": 100,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 271.846,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42157,
    "c": 0.19193,
    "h": 302.6
  },
  "luminance": 0.06263
}

Semantic roles & 50–950 ramp

primary
#641FA1
secondary
#8BC458
accent
#EB3D8F
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #641FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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