#643F7F#643F7F

#643F7F is a dark, moderate violet. Relative luminance 0.078; OKLCH L 43.9% C 0.109 H 309.3°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#643F7F
RGBrgb(100, 63, 127)
HSLhsl(275, 34%, 37%)
HSVhsv(275, 50%, 50%)
CMYKcmyk(21.3%, 50.4%, 0%, 50.2%)
CIE-LABlab(33.56, 29.04, -30.13)
CIE-LCHlch(33.56, 41.85, 313.95°)
OKLaboklab(43.92% 0.0688 -0.0841)
OKLCHoklch(43.92% 0.109 309.3)
XYZxyz(10.8631, 7.7968, 21.0072)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643F7F #5A7F3F
analogous
#443F7F #643F7F #7F3F7A
triadic
#643F7F #7F643F #3F7F64
tetradic
#643F7F #7F443F #5A7F3F #3F7A7F
square
#643F7F #7F443F #5A7F3F #3F7A7F
split-complementary
#643F7F #7A7F3F #3F7F44
monochromatic
#24162D #442B56 #643F7F #8453A8 #A17BBD

Accessibility & contrast

On white

8.21
#643F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#643F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643F7F
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643F7F#FFFFFF#000000##FFFFFF
##643F7F1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D81
Deuteranopia (green-blind)
#394F7D
Tritanopia (blue-blind)
#604A59
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #643f7f;
/* rgb */ color: rgb(100, 63, 127);
/* oklch */ color: oklch(43.9% 0.109 309.3);
Tailwind
colors: {
  custom: {
    50: '#9275a4',
    500: '#643f7f',
    950: '#000000',
  },
}
SCSS
$custom: #643f7f;
$custom-light: #9275a4;
$custom-dark: #000000;
JSON
{
  "hex": "#643f7f",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 127
  },
  "hsl": {
    "h": 274.688,
    "s": 33.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4392,
    "c": 0.10869,
    "h": 309.3
  },
  "luminance": 0.07797
}

Semantic roles & 50–950 ramp

primary
#643F7F
secondary
#89A872
accent
#CA5E8B
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #643F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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