#643C79#643C79

#643C79 is a dark, moderate violet. Relative luminance 0.073; OKLCH L 43.0% C 0.107 H 312.9°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#643C79
RGBrgb(100, 60, 121)
HSLhsl(279, 34%, 35%)
HSVhsv(279, 50%, 47%)
CMYKcmyk(17.4%, 50.4%, 0%, 52.5%)
CIE-LABlab(32.53, 29.37, -28.00)
CIE-LCHlch(32.53, 40.58, 316.37°)
OKLaboklab(43.05% 0.0726 -0.078)
OKLCHoklch(43.05% 0.107 312.9)
XYZxyz(10.3220, 7.3218, 18.9549)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643C79 #51793C
analogous
#453C79 #643C79 #793C6F
triadic
#643C79 #79643C #3C7964
tetradic
#643C79 #79453C #51793C #3C6F79
square
#643C79 #79453C #51793C #3C6F79
split-complementary
#643C79 #6F793C #3C7945
monochromatic
#201327 #422850 #643C79 #8650A2 #A375BB

Accessibility & contrast

On white

8.52
#643C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#643C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643C79
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643C79#FFFFFF#000000##FFFFFF
##643C791.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4A7B
Deuteranopia (green-blind)
#3A4D77
Tritanopia (blue-blind)
#624555
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #643c79;
/* rgb */ color: rgb(100, 60, 121);
/* oklch */ color: oklch(43.0% 0.107 312.9);
Tailwind
colors: {
  custom: {
    50: '#9273a0',
    500: '#643c79',
    950: '#000000',
  },
}
SCSS
$custom: #643c79;
$custom-light: #9273a0;
$custom-dark: #000000;
JSON
{
  "hex": "#643c79",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 121
  },
  "hsl": {
    "h": 279.344,
    "s": 33.702,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43049,
    "c": 0.10651,
    "h": 312.9
  },
  "luminance": 0.07322
}

Semantic roles & 50–950 ramp

primary
#643C79
secondary
#80A46C
accent
#CA5E83
background
#F9F7F9
surface
#F1EDF2
border
#CBC8CC
text
#0D080E
muted
#7E7B7E

Preview Lab

Preview with #643C79

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

Preview Lab → · Contrast checker → · Palette generator →

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