#643F7D#643F7D

#643F7D is a dark, moderate violet. Relative luminance 0.077; OKLCH L 43.8% C 0.106 H 310.2°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#643F7D
RGBrgb(100, 63, 125)
HSLhsl(276, 33%, 37%)
HSVhsv(276, 50%, 49%)
CMYKcmyk(20%, 49.6%, 0%, 51%)
CIE-LABlab(33.45, 28.55, -29.05)
CIE-LCHlch(33.45, 40.73, 314.50°)
OKLaboklab(43.8% 0.0685 -0.081)
OKLCHoklch(43.8% 0.106 310.2)
XYZxyz(10.7340, 7.7452, 20.3276)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643F7D #587D3F
analogous
#453F7D #643F7D #7D3F77
triadic
#643F7D #7D643F #3F7D64
tetradic
#643F7D #7D453F #587D3F #3F777D
square
#643F7D #7D453F #587D3F #3F777D
split-complementary
#643F7D #777D3F #3F7D45
monochromatic
#23162C #432A54 #643F7D #8554A6 #A27ABC

Accessibility & contrast

On white

8.24
#643F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#643F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643F7D
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643F7D#FFFFFF#000000##FFFFFF
##643F7D1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D7F
Deuteranopia (green-blind)
#3A4F7B
Tritanopia (blue-blind)
#614958
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #643f7d;
/* rgb */ color: rgb(100, 63, 125);
/* oklch */ color: oklch(43.8% 0.106 310.2);
Tailwind
colors: {
  custom: {
    50: '#9275a3',
    500: '#643f7d',
    950: '#000000',
  },
}
SCSS
$custom: #643f7d;
$custom-light: #9275a3;
$custom-dark: #000000;
JSON
{
  "hex": "#643f7d",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 125
  },
  "hsl": {
    "h": 275.806,
    "s": 32.979,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43803,
    "c": 0.10612,
    "h": 310.2
  },
  "luminance": 0.07745
}

Semantic roles & 50–950 ramp

primary
#643F7D
secondary
#87A671
accent
#C95F8A
background
#F9F7FA
surface
#F1EDF3
border
#CBC8CD
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #643F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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