#641FA6#641FA6

#641FA6 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.6% C 0.197 H 301.2°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#641FA6
RGBrgb(100, 31, 166)
HSLhsl(271, 69%, 39%)
HSVhsv(271, 81%, 65%)
CMYKcmyk(39.8%, 81.3%, 0%, 34.9%)
CIE-LABlab(30.50, 54.69, -58.94)
CIE-LCHlch(30.50, 80.40, 312.85°)
OKLaboklab(42.6% 0.1019 -0.1685)
OKLCHoklch(42.6% 0.197 301.2)
XYZxyz(12.6268, 6.4424, 36.6473)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641FA6 #61A61F
analogous
#211FA6 #641FA6 #A61FA4
triadic
#641FA6 #A6641F #1FA664
tetradic
#641FA6 #A6211F #61A61F #1FA4A6
square
#641FA6 #A6211F #61A61F #1FA4A6
split-complementary
#641FA6 #A4A61F #1FA621
monochromatic
#260C3F #451572 #641FA6 #832BD7 #A15EE1

Accessibility & contrast

On white

9.18
#641FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#641FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641FA6
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641FA6#FFFFFF#000000##FFFFFF
##641FA61.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#0047A3
Tritanopia (blue-blind)
#554563
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #641fa6;
/* rgb */ color: rgb(100, 31, 166);
/* oklch */ color: oklch(42.6% 0.197 301.2);
Tailwind
colors: {
  custom: {
    50: '#9764c1',
    500: '#641fa6',
    950: '#000000',
  },
}
SCSS
$custom: #641fa6;
$custom-light: #9764c1;
$custom-dark: #000000;
JSON
{
  "hex": "#641fa6",
  "rgb": {
    "r": 100,
    "g": 31,
    "b": 166
  },
  "hsl": {
    "h": 270.667,
    "s": 68.528,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42596,
    "c": 0.19689,
    "h": 301.2
  },
  "luminance": 0.06442
}

Semantic roles & 50–950 ramp

primary
#641FA6
secondary
#8FC55B
accent
#EB3C92
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #641FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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