#641A9F#641A9F

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

Color values

HEX#641A9F
RGBrgb(100, 26, 159)
HSLhsl(273, 72%, 36%)
HSVhsv(273, 84%, 62%)
CMYKcmyk(37.1%, 83.6%, 0%, 37.6%)
CIE-LABlab(29.29, 54.79, -56.69)
CIE-LCHlch(29.29, 78.84, 314.03°)
OKLaboklab(41.57% 0.1077 -0.1618)
OKLCHoklch(41.57% 0.194 303.6)
XYZxyz(11.8815, 5.9513, 33.3169)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641A9F #559F1A
analogous
#211A9F #641A9F #9F1A98
triadic
#641A9F #9F641A #1A9F64
tetradic
#641A9F #9F211A #559F1A #1A989F
square
#641A9F #9F211A #559F1A #1A989F
split-complementary
#641A9F #989F1A #1A9F21
monochromatic
#220936 #43116A #641A9F #8523D4 #A251E3

Accessibility & contrast

On white

9.59
#641A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#641A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641A9F
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641A9F#FFFFFF#000000##FFFFFF
##641A9F1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#58405E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #641a9f;
/* rgb */ color: rgb(100, 26, 159);
/* oklch */ color: oklch(41.6% 0.194 303.6);
Tailwind
colors: {
  custom: {
    50: '#9662bc',
    500: '#641a9f',
    950: '#000000',
  },
}
SCSS
$custom: #641a9f;
$custom-light: #9662bc;
$custom-dark: #000000;
JSON
{
  "hex": "#641a9f",
  "rgb": {
    "r": 100,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 273.383,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41565,
    "c": 0.19437,
    "h": 303.6
  },
  "luminance": 0.05951
}

Semantic roles & 50–950 ramp

primary
#641A9F
secondary
#84C550
accent
#EF398A
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #641A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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