#643E82#643E82

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

Color values

HEX#643E82
RGBrgb(100, 62, 130)
HSLhsl(274, 35%, 38%)
HSVhsv(274, 52%, 51%)
CMYKcmyk(23.1%, 52.3%, 0%, 49%)
CIE-LABlab(33.49, 30.39, -32.09)
CIE-LCHlch(33.49, 44.19, 313.44°)
OKLaboklab(43.93% 0.0707 -0.0898)
OKLCHoklch(43.93% 0.114 308.2)
XYZxyz(11.0066, 7.7664, 22.0340)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643E82 #5C823E
analogous
#423E82 #643E82 #823E7E
triadic
#643E82 #82643E #3E8264
tetradic
#643E82 #82423E #5C823E #3E7E82
square
#643E82 #82423E #5C823E #3E7E82
split-complementary
#643E82 #7E823E #3E8242
monochromatic
#24162F #442A59 #643E82 #8452AB #A17BC0

Accessibility & contrast

On white

8.22
#643E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#643E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643E82
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643E82#FFFFFF#000000##FFFFFF
##643E821.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4D84
Deuteranopia (green-blind)
#364F80
Tritanopia (blue-blind)
#604A5A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #643e82;
/* rgb */ color: rgb(100, 62, 130);
/* oklch */ color: oklch(43.9% 0.114 308.2);
Tailwind
colors: {
  custom: {
    50: '#9274a6',
    500: '#643e82',
    950: '#000000',
  },
}
SCSS
$custom: #643e82;
$custom-light: #9274a6;
$custom-dark: #000000;
JSON
{
  "hex": "#643e82",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 130
  },
  "hsl": {
    "h": 273.529,
    "s": 35.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43927,
    "c": 0.1143,
    "h": 308.2
  },
  "luminance": 0.07766
}

Semantic roles & 50–950 ramp

primary
#643E82
secondary
#8BAA72
accent
#CB5C8D
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #643E82

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

Preview Lab → · Contrast checker → · Palette generator →

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