#643E7D#643E7D

#643E7D is a dark, moderate violet. Relative luminance 0.076; OKLCH L 43.6% C 0.108 H 310.5°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#643E7D
RGBrgb(100, 62, 125)
HSLhsl(276, 34%, 37%)
HSVhsv(276, 50%, 49%)
CMYKcmyk(20%, 50.4%, 0%, 51%)
CIE-LABlab(33.21, 29.15, -29.42)
CIE-LCHlch(33.21, 41.42, 314.73°)
OKLaboklab(43.63% 0.0701 -0.0821)
OKLCHoklch(43.63% 0.108 310.5)
XYZxyz(10.6791, 7.6354, 20.3093)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643E7D #577D3E
analogous
#453E7D #643E7D #7D3E77
triadic
#643E7D #7D643E #3E7D64
tetradic
#643E7D #7D453E #577D3E #3E777D
square
#643E7D #7D453E #577D3E #3E777D
split-complementary
#643E7D #777D3E #3E7D45
monochromatic
#23152B #432A54 #643E7D #8552A6 #A279BC

Accessibility & contrast

On white

8.31
#643E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#643E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643E7D
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643E7D#FFFFFF#000000##FFFFFF
##643E7D1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7F
Deuteranopia (green-blind)
#394F7B
Tritanopia (blue-blind)
#614857
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #643e7d;
/* rgb */ color: rgb(100, 62, 125);
/* oklch */ color: oklch(43.6% 0.108 310.5);
Tailwind
colors: {
  custom: {
    50: '#9274a3',
    500: '#643e7d',
    950: '#000000',
  },
}
SCSS
$custom: #643e7d;
$custom-light: #9274a3;
$custom-dark: #000000;
JSON
{
  "hex": "#643e7d",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 125
  },
  "hsl": {
    "h": 276.19,
    "s": 33.69,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43628,
    "c": 0.10793,
    "h": 310.5
  },
  "luminance": 0.07635
}

Semantic roles & 50–950 ramp

primary
#643E7D
secondary
#86A770
accent
#CA5E89
background
#F9F7FA
surface
#F1EDF3
border
#CBC8CD
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #643E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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