#643F8B#643F8B

#643F8B is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.7% C 0.124 H 304.3°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#643F8B
RGBrgb(100, 63, 139)
HSLhsl(269, 38%, 40%)
HSVhsv(269, 55%, 55%)
CMYKcmyk(28.1%, 54.7%, 0%, 45.5%)
CIE-LABlab(34.25, 32.08, -36.44)
CIE-LCHlch(34.25, 48.55, 311.36°)
OKLaboklab(44.66% 0.07 -0.1025)
OKLCHoklch(44.66% 0.124 304.3)
XYZxyz(11.6922, 8.1285, 25.3741)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643F8B #668B3F
analogous
#3F408B #643F8B #8A3F8B
triadic
#643F8B #8B643F #3F8B64
tetradic
#643F8B #8B3F40 #668B3F #3F8B8A
square
#643F8B #8B3F40 #668B3F #3F8B8A
split-complementary
#643F8B #8B8A3F #408B3F
monochromatic
#271937 #462C61 #643F8B #8255B2 #A17FC5

Accessibility & contrast

On white

8.00
#643F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#643F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643F8B
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643F8B#FFFFFF#000000##FFFFFF
##643F8B1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25508E
Deuteranopia (green-blind)
#315189
Tritanopia (blue-blind)
#5D4D5F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #643f8b;
/* rgb */ color: rgb(100, 63, 139);
/* oklch */ color: oklch(44.7% 0.124 304.3);
Tailwind
colors: {
  custom: {
    50: '#9275ad',
    500: '#643f8b',
    950: '#000000',
  },
}
SCSS
$custom: #643f8b;
$custom-light: #9275ad;
$custom-dark: #000000;
JSON
{
  "hex": "#643f8b",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 139
  },
  "hsl": {
    "h": 269.211,
    "s": 37.624,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44659,
    "c": 0.12417,
    "h": 304.3
  },
  "luminance": 0.08128
}

Semantic roles & 50–950 ramp

primary
#643F8B
secondary
#94AF76
accent
#CE5A95
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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