#641A9D#641A9D

#641A9D is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.4% C 0.192 H 304.3°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#641A9D
RGBrgb(100, 26, 157)
HSLhsl(274, 72%, 36%)
HSVhsv(274, 83%, 62%)
CMYKcmyk(36.3%, 83.4%, 0%, 38.4%)
CIE-LABlab(29.11, 54.33, -55.76)
CIE-LCHlch(29.11, 77.85, 314.26°)
OKLaboklab(41.39% 0.1083 -0.1591)
OKLCHoklch(41.39% 0.192 304.3)
XYZxyz(11.7093, 5.8825, 32.4103)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641A9D #539D1A
analogous
#221A9D #641A9D #9D1A94
triadic
#641A9D #9D641A #1A9D64
tetradic
#641A9D #9D221A #539D1A #1A949D
square
#641A9D #9D221A #539D1A #1A949D
split-complementary
#641A9D #949D1A #1A9D22
monochromatic
#210934 #431168 #641A9D #8523D2 #A24FE2

Accessibility & contrast

On white

9.65
#641A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#641A9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641A9D
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641A9D#FFFFFF#000000##FFFFFF
##641A9D1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00449B
Tritanopia (blue-blind)
#593F5D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #641a9d;
/* rgb */ color: rgb(100, 26, 157);
/* oklch */ color: oklch(41.4% 0.192 304.3);
Tailwind
colors: {
  custom: {
    50: '#9662bb',
    500: '#641a9d',
    950: '#000000',
  },
}
SCSS
$custom: #641a9d;
$custom-light: #9662bb;
$custom-dark: #000000;
JSON
{
  "hex": "#641a9d",
  "rgb": {
    "r": 100,
    "g": 26,
    "b": 157
  },
  "hsl": {
    "h": 273.893,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41389,
    "c": 0.19245,
    "h": 304.3
  },
  "luminance": 0.05882
}

Semantic roles & 50–950 ramp

primary
#641A9D
secondary
#82C44E
accent
#EE3988
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #641A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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