#641B9A#641B9A

#641B9A is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.2% C 0.189 H 305.1°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#641B9A
RGBrgb(100, 27, 154)
HSLhsl(274, 70%, 35%)
HSVhsv(274, 82%, 60%)
CMYKcmyk(35.1%, 82.5%, 0%, 39.6%)
CIE-LABlab(28.97, 53.31, -54.16)
CIE-LCHlch(28.97, 75.99, 314.55°)
OKLaboklab(41.21% 0.1085 -0.1544)
OKLCHoklch(41.21% 0.189 305.1)
XYZxyz(11.4789, 5.8264, 31.0855)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641B9A #519A1B
analogous
#241B9A #641B9A #9A1B90
triadic
#641B9A #9A641B #1B9A64
tetradic
#641B9A #9A241B #519A1B #1B909A
square
#641B9A #9A241B #519A1B #1B909A
split-complementary
#641B9A #909A1B #1B9A24
monochromatic
#200932 #421266 #641B9A #8624CE #A34FE0

Accessibility & contrast

On white

9.70
#641B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#641B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641B9A
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641B9A#FFFFFF#000000##FFFFFF
##641B9A1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#004498
Tritanopia (blue-blind)
#5A3E5C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #641b9a;
/* rgb */ color: rgb(100, 27, 154);
/* oklch */ color: oklch(41.2% 0.189 305.1);
Tailwind
colors: {
  custom: {
    50: '#9662b9',
    500: '#641b9a',
    950: '#000000',
  },
}
SCSS
$custom: #641b9a;
$custom-light: #9662b9;
$custom-dark: #000000;
JSON
{
  "hex": "#641b9a",
  "rgb": {
    "r": 100,
    "g": 27,
    "b": 154
  },
  "hsl": {
    "h": 274.488,
    "s": 70.166,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41209,
    "c": 0.18871,
    "h": 305.1
  },
  "luminance": 0.05826
}

Semantic roles & 50–950 ramp

primary
#641B9A
secondary
#80C34E
accent
#ED3B87
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #641B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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