#641F99#641F99

#641F99 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.184 H 305.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#641F99
RGBrgb(100, 31, 153)
HSLhsl(274, 66%, 36%)
HSVhsv(274, 80%, 60%)
CMYKcmyk(34.6%, 79.7%, 0%, 40%)
CIE-LABlab(29.39, 51.63, -52.87)
CIE-LCHlch(29.39, 73.90, 314.32°)
OKLaboklab(41.47% 0.1056 -0.1506)
OKLCHoklch(41.47% 0.184 305)
XYZxyz(11.4940, 5.9893, 30.6813)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641F99 #54991F
analogous
#271F99 #641F99 #991F91
triadic
#641F99 #99641F #1F9964
tetradic
#641F99 #99271F #54991F #1F9199
square
#641F99 #99271F #54991F #1F9199
split-complementary
#641F99 #91991F #1F9927
monochromatic
#210A33 #431566 #641F99 #8529CC #A256DD

Accessibility & contrast

On white

9.56
#641F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #641F99
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641F99#FFFFFF#000000##FFFFFF
##641F991.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#5A3F5C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #641f99;
/* rgb */ color: rgb(100, 31, 153);
/* oklch */ color: oklch(41.5% 0.184 305.0);
Tailwind
colors: {
  custom: {
    50: '#9663b8',
    500: '#641f99',
    950: '#000000',
  },
}
SCSS
$custom: #641f99;
$custom-light: #9663b8;
$custom-dark: #000000;
JSON
{
  "hex": "#641f99",
  "rgb": {
    "r": 100,
    "g": 31,
    "b": 153
  },
  "hsl": {
    "h": 273.934,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41472,
    "c": 0.18398,
    "h": 305
  },
  "luminance": 0.05989
}

Semantic roles & 50–950 ramp

primary
#641F99
secondary
#83C054
accent
#E93F89
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #641F99

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

Preview Lab → · Contrast checker → · Palette generator →

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