#641CA7#641CA7

#641CA7 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.4% C 0.200 H 301.2°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#641CA7
RGBrgb(100, 28, 167)
HSLhsl(271, 71%, 38%)
HSVhsv(271, 83%, 65%)
CMYKcmyk(40.1%, 83.2%, 0%, 34.5%)
CIE-LABlab(30.23, 55.98, -59.99)
CIE-LCHlch(30.23, 82.05, 313.02°)
OKLaboklab(42.43% 0.1037 -0.1715)
OKLCHoklch(42.43% 0.2 301.2)
XYZxyz(12.6441, 6.3298, 37.1073)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641CA7 #5FA71C
analogous
#1E1CA7 #641CA7 #A71CA4
triadic
#641CA7 #A7641C #1CA764
tetradic
#641CA7 #A71E1C #5FA71C #1CA4A7
square
#641CA7 #A71E1C #5FA71C #1CA4A7
split-complementary
#641CA7 #A4A71C #1CA71E
monochromatic
#250A3E #451373 #641CA7 #8326DB #A15AE3

Accessibility & contrast

On white

9.27
#641CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#641CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641CA7
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641CA7#FFFFFF#000000##FFFFFF
##641CA71.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AB
Deuteranopia (green-blind)
#0046A4
Tritanopia (blue-blind)
#554463
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #641ca7;
/* rgb */ color: rgb(100, 28, 167);
/* oklch */ color: oklch(42.4% 0.200 301.2);
Tailwind
colors: {
  custom: {
    50: '#9763c2',
    500: '#641ca7',
    950: '#000000',
  },
}
SCSS
$custom: #641ca7;
$custom-light: #9763c2;
$custom-dark: #000000;
JSON
{
  "hex": "#641ca7",
  "rgb": {
    "r": 100,
    "g": 28,
    "b": 167
  },
  "hsl": {
    "h": 271.079,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42434,
    "c": 0.20045,
    "h": 301.2
  },
  "luminance": 0.0633
}

Semantic roles & 50–950 ramp

primary
#641CA7
secondary
#8DC758
accent
#EE3A91
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #641CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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