#641C9B#641C9B

#641C9B is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.4% C 0.189 H 304.7°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#641C9B
RGBrgb(100, 28, 155)
HSLhsl(274, 69%, 36%)
HSVhsv(274, 82%, 61%)
CMYKcmyk(35.5%, 81.9%, 0%, 39.2%)
CIE-LABlab(29.18, 53.19, -54.43)
CIE-LCHlch(29.18, 76.11, 314.34°)
OKLaboklab(41.38% 0.1075 -0.1552)
OKLCHoklch(41.38% 0.189 304.7)
XYZxyz(11.5858, 5.9064, 31.5337)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641C9B #539B1C
analogous
#251C9B #641C9B #9B1C92
triadic
#641C9B #9B641C #1C9B64
tetradic
#641C9B #9B251C #539B1C #1C929B
square
#641C9B #9B251C #539B1C #1C929B
split-complementary
#641C9B #929B1C #1C9B25
monochromatic
#210933 #431367 #641C9B #8525CF #A252E0

Accessibility & contrast

On white

9.63
#641C9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#641C9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641C9B
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641C9B#FFFFFF#000000##FFFFFF
##641C9B1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#004599
Tritanopia (blue-blind)
#593F5D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #641c9b;
/* rgb */ color: rgb(100, 28, 155);
/* oklch */ color: oklch(41.4% 0.189 304.7);
Tailwind
colors: {
  custom: {
    50: '#9662b9',
    500: '#641c9b',
    950: '#000000',
  },
}
SCSS
$custom: #641c9b;
$custom-light: #9662b9;
$custom-dark: #000000;
JSON
{
  "hex": "#641c9b",
  "rgb": {
    "r": 100,
    "g": 28,
    "b": 155
  },
  "hsl": {
    "h": 274.016,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41378,
    "c": 0.18879,
    "h": 304.7
  },
  "luminance": 0.05906
}

Semantic roles & 50–950 ramp

primary
#641C9B
secondary
#82C350
accent
#EC3C88
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #641C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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