#641FA7#641FA7

#641FA7 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.7% C 0.198 H 300.9°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#641FA7
RGBrgb(100, 31, 167)
HSLhsl(270, 69%, 39%)
HSVhsv(270, 81%, 65%)
CMYKcmyk(40.1%, 81.4%, 0%, 34.5%)
CIE-LABlab(30.59, 54.92, -59.40)
CIE-LCHlch(30.59, 80.90, 312.76°)
OKLaboklab(42.68% 0.1016 -0.1698)
OKLCHoklch(42.68% 0.198 300.9)
XYZxyz(12.7188, 6.4792, 37.1323)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641FA7 #62A71F
analogous
#201FA7 #641FA7 #A71FA6
triadic
#641FA7 #A7641F #1FA764
tetradic
#641FA7 #A7201F #62A71F #1FA6A7
square
#641FA7 #A7201F #62A71F #1FA6A7
split-complementary
#641FA7 #A6A71F #1FA720
monochromatic
#260C40 #451573 #641FA7 #832BD8 #A15FE1

Accessibility & contrast

On white

9.15
#641FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#641FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641FA7
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641FA7#FFFFFF#000000##FFFFFF
##641FA71.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#0047A4
Tritanopia (blue-blind)
#554564
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #641fa7;
/* rgb */ color: rgb(100, 31, 167);
/* oklch */ color: oklch(42.7% 0.198 300.9);
Tailwind
colors: {
  custom: {
    50: '#9764c2',
    500: '#641fa7',
    950: '#000000',
  },
}
SCSS
$custom: #641fa7;
$custom-light: #9764c2;
$custom-dark: #000000;
JSON
{
  "hex": "#641fa7",
  "rgb": {
    "r": 100,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 270.441,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42684,
    "c": 0.19789,
    "h": 300.9
  },
  "luminance": 0.06479
}

Semantic roles & 50–950 ramp

primary
#641FA7
secondary
#90C65C
accent
#EC3C93
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #641FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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