#643F8A#643F8A

#643F8A is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.6% C 0.123 H 304.7°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#643F8A
RGBrgb(100, 63, 138)
HSLhsl(270, 37%, 39%)
HSVhsv(270, 54%, 54%)
CMYKcmyk(27.5%, 54.3%, 0%, 45.9%)
CIE-LABlab(34.19, 31.82, -35.92)
CIE-LCHlch(34.19, 47.99, 311.54°)
OKLaboklab(44.6% 0.0699 -0.101)
OKLCHoklch(44.6% 0.123 304.7)
XYZxyz(11.6195, 8.0994, 24.9910)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643F8A #658A3F
analogous
#3F408A #643F8A #8A3F8A
triadic
#643F8A #8A643F #3F8A64
tetradic
#643F8A #8A3F40 #658A3F #3F8A8A
square
#643F8A #8A3F40 #658A3F #3F8A8A
split-complementary
#643F8A #8A8A3F #408A3F
monochromatic
#271936 #462C60 #643F8A #8255B1 #A17FC5

Accessibility & contrast

On white

8.02
#643F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#643F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643F8A
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643F8A#FFFFFF#000000##FFFFFF
##643F8A1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264F8D
Deuteranopia (green-blind)
#325088
Tritanopia (blue-blind)
#5E4D5E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #643f8a;
/* rgb */ color: rgb(100, 63, 138);
/* oklch */ color: oklch(44.6% 0.123 304.7);
Tailwind
colors: {
  custom: {
    50: '#9275ac',
    500: '#643f8a',
    950: '#000000',
  },
}
SCSS
$custom: #643f8a;
$custom-light: #9275ac;
$custom-dark: #000000;
JSON
{
  "hex": "#643f8a",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 269.6,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44595,
    "c": 0.12288,
    "h": 304.7
  },
  "luminance": 0.08099
}

Semantic roles & 50–950 ramp

primary
#643F8A
secondary
#93AF76
accent
#CD5B95
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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