#641F9F#641F9F

#641F9F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.190 H 303.2°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#641F9F
RGBrgb(100, 31, 159)
HSLhsl(272, 67%, 37%)
HSVhsv(272, 81%, 62%)
CMYKcmyk(37.1%, 80.5%, 0%, 37.6%)
CIE-LABlab(29.89, 53.03, -55.70)
CIE-LCHlch(29.89, 76.91, 313.59°)
OKLaboklab(41.98% 0.104 -0.1589)
OKLCHoklch(41.98% 0.19 303.2)
XYZxyz(12.0020, 6.1925, 33.3571)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641F9F #5A9F1F
analogous
#241F9F #641F9F #9F1F9A
triadic
#641F9F #9F641F #1F9F64
tetradic
#641F9F #9F241F #5A9F1F #1F9A9F
square
#641F9F #9F241F #5A9F1F #1F9A9F
split-complementary
#641F9F #9A9F1F #1F9F24
monochromatic
#240B39 #44156C #641F9F #8429D2 #A15ADF

Accessibility & contrast

On white

9.38
#641F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#641F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641F9F
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641F9F#FFFFFF#000000##FFFFFF
##641F9F1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#58425F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #641f9f;
/* rgb */ color: rgb(100, 31, 159);
/* oklch */ color: oklch(42.0% 0.190 303.2);
Tailwind
colors: {
  custom: {
    50: '#9664bc',
    500: '#641f9f',
    950: '#000000',
  },
}
SCSS
$custom: #641f9f;
$custom-light: #9664bc;
$custom-dark: #000000;
JSON
{
  "hex": "#641f9f",
  "rgb": {
    "r": 100,
    "g": 31,
    "b": 159
  },
  "hsl": {
    "h": 272.344,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41984,
    "c": 0.18994,
    "h": 303.2
  },
  "luminance": 0.06193
}

Semantic roles & 50–950 ramp

primary
#641F9F
secondary
#89C357
accent
#EA3E8D
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #641F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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