#643B97#643B97

#643B97 is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.8% C 0.146 H 301.3°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#643B97
RGBrgb(100, 59, 151)
HSLhsl(267, 44%, 41%)
HSVhsv(267, 61%, 59%)
CMYKcmyk(33.8%, 60.9%, 0%, 40.8%)
CIE-LABlab(34.13, 37.53, -43.96)
CIE-LCHlch(34.13, 57.81, 310.49°)
OKLaboklab(44.82% 0.0757 -0.1246)
OKLCHoklch(44.82% 0.146 301.3)
XYZxyz(12.4041, 8.0716, 30.1766)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643B97 #6E973B
analogous
#3B4097 #643B97 #923B97
triadic
#643B97 #97643B #3B9764
tetradic
#643B97 #973B40 #6E973B #3B9792
square
#643B97 #973B40 #6E973B #3B9792
split-complementary
#643B97 #97923B #40973B
monochromatic
#2A193F #472A6B #643B97 #8253BC #A27FCD

Accessibility & contrast

On white

8.03
#643B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#643B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643B97
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643B97#FFFFFF#000000##FFFFFF
##643B971.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07509A
Deuteranopia (green-blind)
#1F5095
Tritanopia (blue-blind)
#5A4E63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #643b97;
/* rgb */ color: rgb(100, 59, 151);
/* oklch */ color: oklch(44.8% 0.146 301.3);
Tailwind
colors: {
  custom: {
    50: '#9473b6',
    500: '#643b97',
    950: '#000000',
  },
}
SCSS
$custom: #643b97;
$custom-light: #9473b6;
$custom-dark: #000000;
JSON
{
  "hex": "#643b97",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 151
  },
  "hsl": {
    "h": 266.739,
    "s": 43.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44819,
    "c": 0.14577,
    "h": 301.3
  },
  "luminance": 0.08072
}

Semantic roles & 50–950 ramp

primary
#643B97
secondary
#9AB777
accent
#D4549B
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643B97

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

Preview Lab → · Contrast checker → · Palette generator →

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