#643F8D#643F8D

#643F8D is a dark, vivid violet. Relative luminance 0.082; OKLCH L 44.8% C 0.127 H 303.6°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#643F8D
RGBrgb(100, 63, 141)
HSLhsl(268, 38%, 40%)
HSVhsv(268, 55%, 55%)
CMYKcmyk(29.1%, 55.3%, 0%, 44.7%)
CIE-LABlab(34.37, 32.60, -37.47)
CIE-LCHlch(34.37, 49.67, 311.02°)
OKLaboklab(44.79% 0.0701 -0.1056)
OKLCHoklch(44.79% 0.127 303.6)
XYZxyz(11.8397, 8.1875, 26.1507)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643F8D #688D3F
analogous
#3F418D #643F8D #8B3F8D
triadic
#643F8D #8D643F #3F8D64
tetradic
#643F8D #8D3F41 #688D3F #3F8D8B
square
#643F8D #8D3F41 #688D3F #3F8D8B
split-complementary
#643F8D #8D8B3F #418D3F
monochromatic
#281938 #462C63 #643F8D #8256B3 #A180C6

Accessibility & contrast

On white

7.96
#643F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#643F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643F8D
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643F8D#FFFFFF#000000##FFFFFF
##643F8D1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235090
Deuteranopia (green-blind)
#2F518B
Tritanopia (blue-blind)
#5D4E60
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #643f8d;
/* rgb */ color: rgb(100, 63, 141);
/* oklch */ color: oklch(44.8% 0.127 303.6);
Tailwind
colors: {
  custom: {
    50: '#9375af',
    500: '#643f8d',
    950: '#000000',
  },
}
SCSS
$custom: #643f8d;
$custom-light: #9375af;
$custom-dark: #000000;
JSON
{
  "hex": "#643f8d",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 141
  },
  "hsl": {
    "h": 268.462,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.44788,
    "c": 0.12675,
    "h": 303.6
  },
  "luminance": 0.08187
}

Semantic roles & 50–950 ramp

primary
#643F8D
secondary
#95B177
accent
#CE5A97
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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