#641F9C#641F9C

#641F9C is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.187 H 304.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#641F9C
RGBrgb(100, 31, 156)
HSLhsl(273, 67%, 37%)
HSVhsv(273, 80%, 61%)
CMYKcmyk(35.9%, 80.1%, 0%, 38.8%)
CIE-LABlab(29.64, 52.33, -54.29)
CIE-LCHlch(29.64, 75.40, 313.95°)
OKLaboklab(41.73% 0.1048 -0.1548)
OKLCHoklch(41.73% 0.187 304.1)
XYZxyz(11.7449, 6.0896, 32.0027)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641F9C #579C1F
analogous
#261F9C #641F9C #9C1F96
triadic
#641F9C #9C641F #1F9C64
tetradic
#641F9C #9C261F #579C1F #1F969C
square
#641F9C #9C261F #579C1F #1F969C
split-complementary
#641F9C #969C1F #1F9C26
monochromatic
#230B36 #431569 #641F9C #8529CF #A258DE

Accessibility & contrast

On white

9.47
#641F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#641F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641F9C
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641F9C#FFFFFF#000000##FFFFFF
##641F9C1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00469A
Tritanopia (blue-blind)
#59405E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #641f9c;
/* rgb */ color: rgb(100, 31, 156);
/* oklch */ color: oklch(41.7% 0.187 304.1);
Tailwind
colors: {
  custom: {
    50: '#9664ba',
    500: '#641f9c',
    950: '#000000',
  },
}
SCSS
$custom: #641f9c;
$custom-light: #9664ba;
$custom-dark: #000000;
JSON
{
  "hex": "#641f9c",
  "rgb": {
    "r": 100,
    "g": 31,
    "b": 156
  },
  "hsl": {
    "h": 273.12,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41727,
    "c": 0.18696,
    "h": 304.1
  },
  "luminance": 0.0609
}

Semantic roles & 50–950 ramp

primary
#641F9C
secondary
#86C155
accent
#EA3E8B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #641F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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