#643F81#643F81

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

Color values

HEX#643F81
RGBrgb(100, 63, 129)
HSLhsl(274, 34%, 38%)
HSVhsv(274, 51%, 51%)
CMYKcmyk(22.5%, 51.2%, 0%, 49.4%)
CIE-LABlab(33.67, 29.54, -31.19)
CIE-LCHlch(33.67, 42.96, 313.44°)
OKLaboklab(44.04% 0.0691 -0.0872)
OKLCHoklch(44.04% 0.111 308.4)
XYZxyz(10.9947, 7.8495, 21.7005)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643F81 #5C813F
analogous
#433F81 #643F81 #813F7D
triadic
#643F81 #81643F #3F8164
tetradic
#643F81 #81433F #5C813F #3F7D81
square
#643F81 #81433F #5C813F #3F7D81
split-complementary
#643F81 #7D813F #3F8143
monochromatic
#24172F #442B58 #643F81 #8453AA #A17CBF

Accessibility & contrast

On white

8.17
#643F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#643F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643F81
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643F81#FFFFFF#000000##FFFFFF
##643F811.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4E83
Deuteranopia (green-blind)
#38507F
Tritanopia (blue-blind)
#604A5A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #643f81;
/* rgb */ color: rgb(100, 63, 129);
/* oklch */ color: oklch(44.0% 0.111 308.4);
Tailwind
colors: {
  custom: {
    50: '#9275a6',
    500: '#643f81',
    950: '#000000',
  },
}
SCSS
$custom: #643f81;
$custom-light: #9275a6;
$custom-dark: #000000;
JSON
{
  "hex": "#643f81",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 129
  },
  "hsl": {
    "h": 273.636,
    "s": 34.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44039,
    "c": 0.11126,
    "h": 308.4
  },
  "luminance": 0.07849
}

Semantic roles & 50–950 ramp

primary
#643F81
secondary
#8BA973
accent
#CA5D8D
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #643F81

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

Preview Lab → · Contrast checker → · Palette generator →

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