#643F7C#643F7C

#643F7C is a dark, moderate violet. Relative luminance 0.077; OKLCH L 43.7% C 0.105 H 310.7°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#643F7C
RGBrgb(100, 63, 124)
HSLhsl(276, 33%, 37%)
HSVhsv(276, 49%, 49%)
CMYKcmyk(19.4%, 49.2%, 0%, 51.4%)
CIE-LABlab(33.39, 28.31, -28.52)
CIE-LCHlch(33.39, 40.18, 314.79°)
OKLaboklab(43.75% 0.0684 -0.0795)
OKLCHoklch(43.75% 0.105 310.7)
XYZxyz(10.6705, 7.7198, 19.9928)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643F7C #577C3F
analogous
#463F7C #643F7C #7C3F76
triadic
#643F7C #7C643F #3F7C64
tetradic
#643F7C #7C463F #577C3F #3F767C
square
#643F7C #7C463F #577C3F #3F767C
split-complementary
#643F7C #767C3F #3F7C46
monochromatic
#23162B #432A53 #643F7C #8554A5 #A27ABB

Accessibility & contrast

On white

8.25
#643F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#643F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643F7C
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643F7C#FFFFFF#000000##FFFFFF
##643F7C1.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7E
Deuteranopia (green-blind)
#3B4F7A
Tritanopia (blue-blind)
#614957
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #643f7c;
/* rgb */ color: rgb(100, 63, 124);
/* oklch */ color: oklch(43.7% 0.105 310.7);
Tailwind
colors: {
  custom: {
    50: '#9275a2',
    500: '#643f7c',
    950: '#000000',
  },
}
SCSS
$custom: #643f7c;
$custom-light: #9275a2;
$custom-dark: #000000;
JSON
{
  "hex": "#643f7c",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 124
  },
  "hsl": {
    "h": 276.393,
    "s": 32.62,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43745,
    "c": 0.10484,
    "h": 310.7
  },
  "luminance": 0.0772
}

Semantic roles & 50–950 ramp

primary
#643F7C
secondary
#86A671
accent
#C95F89
background
#F9F7FA
surface
#F1EDF3
border
#CBC8CD
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #643F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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