#643F97#643F97

#643F97 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.5% C 0.140 H 300.3°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#643F97
RGBrgb(100, 63, 151)
HSLhsl(265, 41%, 42%)
HSVhsv(265, 58%, 59%)
CMYKcmyk(33.8%, 58.3%, 0%, 40.8%)
CIE-LABlab(35.00, 35.23, -42.57)
CIE-LCHlch(35.00, 55.26, 309.62°)
OKLaboklab(45.46% 0.0705 -0.1205)
OKLCHoklch(45.46% 0.14 300.3)
XYZxyz(12.6176, 8.4986, 30.2478)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643F97 #72973F
analogous
#3F4697 #643F97 #903F97
triadic
#643F97 #97643F #3F9764
tetradic
#643F97 #973F46 #72973F #3F9790
square
#643F97 #973F46 #72973F #3F9790
split-complementary
#643F97 #97903F #46973F
monochromatic
#2B1B41 #472D6C #643F97 #8259BA #A385CC

Accessibility & contrast

On white

7.78
#643F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#643F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643F97
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643F97#FFFFFF#000000##FFFFFF
##643F971.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17529A
Deuteranopia (green-blind)
#265295
Tritanopia (blue-blind)
#595165
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #643f97;
/* rgb */ color: rgb(100, 63, 151);
/* oklch */ color: oklch(45.5% 0.140 300.3);
Tailwind
colors: {
  custom: {
    50: '#9375b6',
    500: '#643f97',
    950: '#000000',
  },
}
SCSS
$custom: #643f97;
$custom-light: #9375b6;
$custom-dark: #000000;
JSON
{
  "hex": "#643f97",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 151
  },
  "hsl": {
    "h": 265.227,
    "s": 41.121,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45455,
    "c": 0.1396,
    "h": 300.3
  },
  "luminance": 0.08499
}

Semantic roles & 50–950 ramp

primary
#643F97
secondary
#9EB67C
accent
#D1579E
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643F97

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

Preview Lab → · Contrast checker → · Palette generator →

#643F97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva