#641F9A#641F9A

#641F9A is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.6% C 0.185 H 304.7°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#641F9A
RGBrgb(100, 31, 154)
HSLhsl(274, 66%, 36%)
HSVhsv(274, 80%, 60%)
CMYKcmyk(35.1%, 79.9%, 0%, 39.6%)
CIE-LABlab(29.47, 51.86, -53.34)
CIE-LCHlch(29.47, 74.40, 314.19°)
OKLaboklab(41.56% 0.1054 -0.152)
OKLCHoklch(41.56% 0.185 304.7)
XYZxyz(11.5769, 6.0224, 31.1181)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641F9A #559A1F
analogous
#271F9A #641F9A #9A1F93
triadic
#641F9A #9A641F #1F9A64
tetradic
#641F9A #9A271F #559A1F #1F939A
square
#641F9A #9A271F #559A1F #1F939A
split-complementary
#641F9A #939A1F #1F9A27
monochromatic
#220A34 #431567 #641F9A #8529CD #A256DD

Accessibility & contrast

On white

9.53
#641F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#641F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641F9A
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641F9A#FFFFFF#000000##FFFFFF
##641F9A1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#004598
Tritanopia (blue-blind)
#5A3F5D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #641f9a;
/* rgb */ color: rgb(100, 31, 154);
/* oklch */ color: oklch(41.6% 0.185 304.7);
Tailwind
colors: {
  custom: {
    50: '#9663b9',
    500: '#641f9a',
    950: '#000000',
  },
}
SCSS
$custom: #641f9a;
$custom-light: #9663b9;
$custom-dark: #000000;
JSON
{
  "hex": "#641f9a",
  "rgb": {
    "r": 100,
    "g": 31,
    "b": 154
  },
  "hsl": {
    "h": 273.659,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41557,
    "c": 0.18498,
    "h": 304.7
  },
  "luminance": 0.06022
}

Semantic roles & 50–950 ramp

primary
#641F9A
secondary
#84C154
accent
#E93E89
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #641F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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