#643D7E#643D7E

#643D7E is a dark, moderate violet. Relative luminance 0.076; OKLCH L 43.5% C 0.111 H 310.2°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#643D7E
RGBrgb(100, 61, 126)
HSLhsl(276, 35%, 37%)
HSVhsv(276, 52%, 49%)
CMYKcmyk(20.6%, 51.6%, 0%, 50.6%)
CIE-LABlab(33.03, 29.99, -30.33)
CIE-LCHlch(33.03, 42.65, 314.68°)
OKLaboklab(43.52% 0.0717 -0.0847)
OKLCHoklch(43.52% 0.111 310.2)
XYZxyz(10.6895, 7.5534, 20.6294)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643D7E #577E3D
analogous
#443D7E #643D7E #7E3D78
triadic
#643D7E #7E643D #3D7E64
tetradic
#643D7E #7E443D #577E3D #3D787E
square
#643D7E #7E443D #577E3D #3D787E
split-complementary
#643D7E #787E3D #3D7E44
monochromatic
#23152C #432955 #643D7E #8551A7 #A278BE

Accessibility & contrast

On white

8.36
#643D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#643D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643D7E
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643D7E#FFFFFF#000000##FFFFFF
##643D7E1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C80
Deuteranopia (green-blind)
#384E7C
Tritanopia (blue-blind)
#614857
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #643d7e;
/* rgb */ color: rgb(100, 61, 126);
/* oklch */ color: oklch(43.5% 0.111 310.2);
Tailwind
colors: {
  custom: {
    50: '#9274a4',
    500: '#643d7e',
    950: '#000000',
  },
}
SCSS
$custom: #643d7e;
$custom-light: #9274a4;
$custom-dark: #000000;
JSON
{
  "hex": "#643d7e",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 126
  },
  "hsl": {
    "h": 276,
    "s": 34.759,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43515,
    "c": 0.11099,
    "h": 310.2
  },
  "luminance": 0.07553
}

Semantic roles & 50–950 ramp

primary
#643D7E
secondary
#86A86F
accent
#CB5D89
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #643D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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