#643B82#643B82

#643B82 is a dark, moderate violet. Relative luminance 0.074; OKLCH L 43.4% C 0.120 H 308.9°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#643B82
RGBrgb(100, 59, 130)
HSLhsl(275, 38%, 37%)
HSVhsv(275, 55%, 51%)
CMYKcmyk(23.1%, 54.6%, 0%, 49%)
CIE-LABlab(32.81, 32.15, -33.17)
CIE-LCHlch(32.81, 46.20, 314.11°)
OKLaboklab(43.42% 0.0751 -0.093)
OKLCHoklch(43.42% 0.12 308.9)
XYZxyz(10.8480, 7.4491, 21.9811)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643B82 #59823B
analogous
#413B82 #643B82 #823B7D
triadic
#643B82 #82643B #3B8264
tetradic
#643B82 #82413B #59823B #3B7D82
square
#643B82 #82413B #59823B #3B7D82
split-complementary
#643B82 #7D823B #3B8241
monochromatic
#23152E #442858 #643B82 #844EAC #A176C1

Accessibility & contrast

On white

8.43
#643B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#643B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643B82
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643B82#FFFFFF#000000##FFFFFF
##643B821.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264B84
Deuteranopia (green-blind)
#334E80
Tritanopia (blue-blind)
#604758
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #643b82;
/* rgb */ color: rgb(100, 59, 130);
/* oklch */ color: oklch(43.4% 0.120 308.9);
Tailwind
colors: {
  custom: {
    50: '#9272a7',
    500: '#643b82',
    950: '#000000',
  },
}
SCSS
$custom: #643b82;
$custom-light: #9272a7;
$custom-dark: #000000;
JSON
{
  "hex": "#643b82",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 130
  },
  "hsl": {
    "h": 274.648,
    "s": 37.566,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43422,
    "c": 0.11952,
    "h": 308.9
  },
  "luminance": 0.07449
}

Semantic roles & 50–950 ramp

primary
#643B82
secondary
#88AB6E
accent
#CE5A8B
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #643B82

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

Preview Lab → · Contrast checker → · Palette generator →

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