#641794#641794

#641794 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.4% C 0.186 H 307.4°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#641794
RGBrgb(100, 23, 148)
HSLhsl(277, 73%, 34%)
HSVhsv(277, 84%, 58%)
CMYKcmyk(32.4%, 84.5%, 0%, 42%)
CIE-LABlab(28.01, 53.28, -52.05)
CIE-LCHlch(28.01, 74.48, 315.67°)
OKLaboklab(40.38% 0.1132 -0.1481)
OKLCHoklch(40.38% 0.186 307.4)
XYZxyz(10.9061, 5.4604, 28.4907)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641794 #479417
analogous
#251794 #641794 #941785
triadic
#641794 #946417 #179464
tetradic
#641794 #942517 #479417 #178594
square
#641794 #942517 #479417 #178594
split-complementary
#641794 #859417 #179425
monochromatic
#1C072A #400F5F #641794 #881FC9 #A544E2

Accessibility & contrast

On white

10.04
#641794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#641794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641794
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641794#FFFFFF#000000##FFFFFF
##6417941.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#004392
Tritanopia (blue-blind)
#5C3A58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #641794;
/* rgb */ color: rgb(100, 23, 148);
/* oklch */ color: oklch(40.4% 0.186 307.4);
Tailwind
colors: {
  custom: {
    50: '#9660b4',
    500: '#641794',
    950: '#000000',
  },
}
SCSS
$custom: #641794;
$custom-light: #9660b4;
$custom-dark: #000000;
JSON
{
  "hex": "#641794",
  "rgb": {
    "r": 100,
    "g": 23,
    "b": 148
  },
  "hsl": {
    "h": 276.96,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40382,
    "c": 0.18645,
    "h": 307.4
  },
  "luminance": 0.0546
}

Semantic roles & 50–950 ramp

primary
#641794
secondary
#75C344
accent
#F0387F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #641794

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

Preview Lab → · Contrast checker → · Palette generator →

#641794 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva