#643197#643197

#643197 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.4% C 0.160 H 303.2°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#643197
RGBrgb(100, 49, 151)
HSLhsl(270, 51%, 39%)
HSVhsv(270, 68%, 59%)
CMYKcmyk(33.8%, 67.5%, 0%, 40.8%)
CIE-LABlab(32.12, 42.97, -47.20)
CIE-LCHlch(32.12, 63.83, 312.32°)
OKLaboklab(43.36% 0.0879 -0.1341)
OKLCHoklch(43.36% 0.16 303.2)
XYZxyz(11.9385, 7.1403, 30.0214)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643197 #649731
analogous
#313197 #643197 #973197
triadic
#643197 #976431 #319764
tetradic
#643197 #973131 #649731 #319797
square
#643197 #973131 #649731 #319797
split-complementary
#643197 #979731 #319731
monochromatic
#27133B #452269 #643197 #8343C2 #A171D1

Accessibility & contrast

On white

8.65
#643197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#643197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643197
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643197#FFFFFF#000000##FFFFFF
##6431971.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#094B95
Tritanopia (blue-blind)
#5A4860
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #643197;
/* rgb */ color: rgb(100, 49, 151);
/* oklch */ color: oklch(43.4% 0.160 303.2);
Tailwind
colors: {
  custom: {
    50: '#946db6',
    500: '#643197',
    950: '#000000',
  },
}
SCSS
$custom: #643197;
$custom-light: #946db6;
$custom-dark: #000000;
JSON
{
  "hex": "#643197",
  "rgb": {
    "r": 100,
    "g": 49,
    "b": 151
  },
  "hsl": {
    "h": 270,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43365,
    "c": 0.16032,
    "h": 303.2
  },
  "luminance": 0.0714
}

Semantic roles & 50–950 ramp

primary
#643197
secondary
#92B96B
accent
#DA4D94
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #643197

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

Preview Lab → · Contrast checker → · Palette generator →

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