#641797#641797

#641797 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.6% C 0.189 H 306.4°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#641797
RGBrgb(100, 23, 151)
HSLhsl(276, 74%, 34%)
HSVhsv(276, 85%, 59%)
CMYKcmyk(33.8%, 84.8%, 0%, 40.8%)
CIE-LABlab(28.27, 53.94, -53.47)
CIE-LCHlch(28.27, 75.95, 315.25°)
OKLaboklab(40.64% 0.1123 -0.1523)
OKLCHoklch(40.64% 0.189 306.4)
XYZxyz(11.1466, 5.5566, 29.7575)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#641797 #4A9717
analogous
#241797 #641797 #97178A
triadic
#641797 #976417 #179764
tetradic
#641797 #972417 #4A9717 #178A97
square
#641797 #972417 #4A9717 #178A97
split-complementary
#641797 #8A9717 #179724
monochromatic
#1E072D #410F62 #641797 #871FCC #A446E3

Accessibility & contrast

On white

9.95
#641797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#641797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #641797
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##641797#FFFFFF#000000##FFFFFF
##6417971.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#004395
Tritanopia (blue-blind)
#5B3B59
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #641797;
/* rgb */ color: rgb(100, 23, 151);
/* oklch */ color: oklch(40.6% 0.189 306.4);
Tailwind
colors: {
  custom: {
    50: '#9660b7',
    500: '#641797',
    950: '#000000',
  },
}
SCSS
$custom: #641797;
$custom-light: #9660b7;
$custom-dark: #000000;
JSON
{
  "hex": "#641797",
  "rgb": {
    "r": 100,
    "g": 23,
    "b": 151
  },
  "hsl": {
    "h": 276.094,
    "s": 73.563,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4064,
    "c": 0.18925,
    "h": 306.4
  },
  "luminance": 0.05556
}

Semantic roles & 50–950 ramp

primary
#641797
secondary
#78C446
accent
#F03881
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #641797

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

Preview Lab → · Contrast checker → · Palette generator →

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