#641FA8#641FA8

#641FA8 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.8% C 0.199 H 300.6°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#641FA8
RGBrgb(100, 31, 168)
HSLhsl(270, 69%, 39%)
HSVhsv(270, 82%, 66%)
CMYKcmyk(40.5%, 81.5%, 0%, 34.1%)
CIE-LABlab(30.68, 55.16, -59.86)
CIE-LCHlch(30.68, 81.40, 312.66°)
OKLaboklab(42.77% 0.1013 -0.1712)
OKLCHoklch(42.77% 0.199 300.6)
XYZxyz(12.8116, 6.5163, 37.6210)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641FA8 #63A81F
analogous
#201FA8 #641FA8 #A81FA8
triadic
#641FA8 #A8641F #1FA864
tetradic
#641FA8 #A8201F #63A81F #1FA8A8
square
#641FA8 #A8201F #63A81F #1FA8A8
split-complementary
#641FA8 #A8A81F #1FA820
monochromatic
#260C41 #451574 #641FA8 #832CD8 #A160E2

Accessibility & contrast

On white

9.12
#641FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #641FA8
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641FA8#FFFFFF#000000##FFFFFF
##641FA81.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#0047A5
Tritanopia (blue-blind)
#544665
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #641fa8;
/* rgb */ color: rgb(100, 31, 168);
/* oklch */ color: oklch(42.8% 0.199 300.6);
Tailwind
colors: {
  custom: {
    50: '#9764c3',
    500: '#641fa8',
    950: '#000000',
  },
}
SCSS
$custom: #641fa8;
$custom-light: #9764c3;
$custom-dark: #000000;
JSON
{
  "hex": "#641fa8",
  "rgb": {
    "r": 100,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 270.219,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42773,
    "c": 0.19888,
    "h": 300.6
  },
  "luminance": 0.06516
}

Semantic roles & 50–950 ramp

primary
#641FA8
secondary
#91C65D
accent
#EC3C93
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #641FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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