#643E83#643E83

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

Color values

HEX#643E83
RGBrgb(100, 62, 131)
HSLhsl(273, 36%, 38%)
HSVhsv(273, 53%, 51%)
CMYKcmyk(23.7%, 52.7%, 0%, 48.6%)
CIE-LABlab(33.55, 30.64, -32.62)
CIE-LCHlch(33.55, 44.75, 313.20°)
OKLaboklab(43.99% 0.0708 -0.0914)
OKLCHoklch(43.99% 0.116 307.8)
XYZxyz(11.0741, 7.7934, 22.3892)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643E83 #5D833E
analogous
#413E83 #643E83 #833E7F
triadic
#643E83 #83643E #3E8364
tetradic
#643E83 #83413E #5D833E #3E7F83
square
#643E83 #83413E #5D833E #3E7F83
split-complementary
#643E83 #7F833E #3E8341
monochromatic
#251730 #442A59 #643E83 #8452AD #A17BC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##643E83#FFFFFF#000000##FFFFFF
##643E831.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)
#2A4D85
Deuteranopia (green-blind)
#364F81
Tritanopia (blue-blind)
#604A5A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #643e83;
/* rgb */ color: rgb(100, 62, 131);
/* oklch */ color: oklch(44.0% 0.116 307.8);
Tailwind
colors: {
  custom: {
    50: '#9274a7',
    500: '#643e83',
    950: '#000000',
  },
}
SCSS
$custom: #643e83;
$custom-light: #9274a7;
$custom-dark: #000000;
JSON
{
  "hex": "#643e83",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 131
  },
  "hsl": {
    "h": 273.043,
    "s": 35.751,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43988,
    "c": 0.11559,
    "h": 307.8
  },
  "luminance": 0.07793
}

Semantic roles & 50–950 ramp

primary
#643E83
secondary
#8CAB72
accent
#CC5C8E
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #643E83

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

Preview Lab → · Contrast checker → · Palette generator →

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