#643D82#643D82

#643D82 is a dark, moderate violet. Relative luminance 0.077; OKLCH L 43.8% C 0.116 H 308.4°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#643D82
RGBrgb(100, 61, 130)
HSLhsl(274, 36%, 37%)
HSVhsv(274, 53%, 51%)
CMYKcmyk(23.1%, 53.1%, 0%, 49%)
CIE-LABlab(33.26, 30.98, -32.45)
CIE-LCHlch(33.26, 44.87, 313.67°)
OKLaboklab(43.76% 0.0722 -0.0909)
OKLCHoklch(43.76% 0.116 308.4)
XYZxyz(10.9528, 7.6587, 22.0160)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643D82 #5B823D
analogous
#413D82 #643D82 #823D7E
triadic
#643D82 #82643D #3D8264
tetradic
#643D82 #82413D #5B823D #3D7E82
square
#643D82 #82413D #5B823D #3D7E82
split-complementary
#643D82 #7E823D #3D8241
monochromatic
#24162F #442958 #643D82 #8451AC #A179C0

Accessibility & contrast

On white

8.29
#643D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #643D82
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643D82#FFFFFF#000000##FFFFFF
##643D821.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4D84
Deuteranopia (green-blind)
#354F80
Tritanopia (blue-blind)
#604959
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #643d82;
/* rgb */ color: rgb(100, 61, 130);
/* oklch */ color: oklch(43.8% 0.116 308.4);
Tailwind
colors: {
  custom: {
    50: '#9274a7',
    500: '#643d82',
    950: '#000000',
  },
}
SCSS
$custom: #643d82;
$custom-light: #9274a7;
$custom-dark: #000000;
JSON
{
  "hex": "#643d82",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 130
  },
  "hsl": {
    "h": 273.913,
    "s": 36.126,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43757,
    "c": 0.11605,
    "h": 308.4
  },
  "luminance": 0.07659
}

Semantic roles & 50–950 ramp

primary
#643D82
secondary
#8AAA71
accent
#CC5C8D
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #643D82

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

Preview Lab → · Contrast checker → · Palette generator →

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