#641F9B#641F9B

#641F9B is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.186 H 304.4°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#641F9B
RGBrgb(100, 31, 155)
HSLhsl(273, 67%, 36%)
HSVhsv(273, 80%, 61%)
CMYKcmyk(35.5%, 80%, 0%, 39.2%)
CIE-LABlab(29.55, 52.10, -53.82)
CIE-LCHlch(29.55, 74.90, 314.07°)
OKLaboklab(41.64% 0.1051 -0.1534)
OKLCHoklch(41.64% 0.186 304.4)
XYZxyz(11.6605, 6.0559, 31.5586)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641F9B #569B1F
analogous
#261F9B #641F9B #9B1F94
triadic
#641F9B #9B641F #1F9B64
tetradic
#641F9B #9B261F #569B1F #1F949B
square
#641F9B #9B261F #569B1F #1F949B
split-complementary
#641F9B #949B1F #1F9B26
monochromatic
#220B35 #431568 #641F9B #8529CE #A257DD

Accessibility & contrast

On white

9.50
#641F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#641F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641F9B
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641F9B#FFFFFF#000000##FFFFFF
##641F9B1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#59405D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #641f9b;
/* rgb */ color: rgb(100, 31, 155);
/* oklch */ color: oklch(41.6% 0.186 304.4);
Tailwind
colors: {
  custom: {
    50: '#9663b9',
    500: '#641f9b',
    950: '#000000',
  },
}
SCSS
$custom: #641f9b;
$custom-light: #9663b9;
$custom-dark: #000000;
JSON
{
  "hex": "#641f9b",
  "rgb": {
    "r": 100,
    "g": 31,
    "b": 155
  },
  "hsl": {
    "h": 273.387,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41641,
    "c": 0.18597,
    "h": 304.4
  },
  "luminance": 0.06056
}

Semantic roles & 50–950 ramp

primary
#641F9B
secondary
#85C155
accent
#EA3E8A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #641F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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