#641A98#641A98

#641A98 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 41.0% C 0.188 H 305.8°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#641A98
RGBrgb(100, 26, 152)
HSLhsl(275, 71%, 35%)
HSVhsv(275, 83%, 60%)
CMYKcmyk(34.2%, 82.9%, 0%, 40.4%)
CIE-LABlab(28.68, 53.20, -53.40)
CIE-LCHlch(28.68, 75.38, 314.89°)
OKLaboklab(40.96% 0.1099 -0.1522)
OKLCHoklch(40.96% 0.188 305.8)
XYZxyz(11.2912, 5.7152, 30.2080)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641A98 #4E981A
analogous
#251A98 #641A98 #981A8D
triadic
#641A98 #98641A #1A9864
tetradic
#641A98 #98251A #4E981A #1A8D98
square
#641A98 #98251A #4E981A #1A8D98
split-complementary
#641A98 #8D981A #1A9825
monochromatic
#1F082F #421164 #641A98 #8623CC #A34CE0

Accessibility & contrast

On white

9.80
#641A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#641A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641A98
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641A98#FFFFFF#000000##FFFFFF
##641A981.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429B
Deuteranopia (green-blind)
#004496
Tritanopia (blue-blind)
#5A3D5A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #641a98;
/* rgb */ color: rgb(100, 26, 152);
/* oklch */ color: oklch(41.0% 0.188 305.8);
Tailwind
colors: {
  custom: {
    50: '#9661b7',
    500: '#641a98',
    950: '#000000',
  },
}
SCSS
$custom: #641a98;
$custom-light: #9661b7;
$custom-dark: #000000;
JSON
{
  "hex": "#641a98",
  "rgb": {
    "r": 100,
    "g": 26,
    "b": 152
  },
  "hsl": {
    "h": 275.238,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40956,
    "c": 0.18767,
    "h": 305.8
  },
  "luminance": 0.05715
}

Semantic roles & 50–950 ramp

primary
#641A98
secondary
#7DC24B
accent
#EE3A84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #641A98

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

Preview Lab → · Contrast checker → · Palette generator →

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