#643A8F#643A8F

#643A8F is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.1% C 0.137 H 304.1°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#643A8F
RGBrgb(100, 58, 143)
HSLhsl(270, 42%, 39%)
HSVhsv(270, 59%, 56%)
CMYKcmyk(30.1%, 59.4%, 0%, 43.9%)
CIE-LABlab(33.39, 36.02, -40.27)
CIE-LCHlch(33.39, 54.03, 311.81°)
OKLaboklab(44.11% 0.077 -0.1137)
OKLCHoklch(44.11% 0.137 304.1)
XYZxyz(11.7254, 7.7186, 26.8534)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643A8F #658F3A
analogous
#3A3A8F #643A8F #8F3A8F
triadic
#643A8F #8F643A #3A8F64
tetradic
#643A8F #8F3A3A #658F3A #3A8F8F
square
#643A8F #8F3A3A #658F3A #3A8F8F
split-complementary
#643A8F #8F8F3A #3A8F3A
monochromatic
#271738 #462863 #643A8F #824FB7 #A17AC9

Accessibility & contrast

On white

8.26
#643A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#643A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643A8F
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643A8F#FFFFFF#000000##FFFFFF
##643A8F1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154D92
Deuteranopia (green-blind)
#274E8D
Tritanopia (blue-blind)
#5C4B5F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #643a8f;
/* rgb */ color: rgb(100, 58, 143);
/* oklch */ color: oklch(44.1% 0.137 304.1);
Tailwind
colors: {
  custom: {
    50: '#9372b0',
    500: '#643a8f',
    950: '#000000',
  },
}
SCSS
$custom: #643a8f;
$custom-light: #9372b0;
$custom-dark: #000000;
JSON
{
  "hex": "#643a8f",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 143
  },
  "hsl": {
    "h": 269.647,
    "s": 42.289,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44108,
    "c": 0.13739,
    "h": 304.1
  },
  "luminance": 0.07719
}

Semantic roles & 50–950 ramp

primary
#643A8F
secondary
#93B372
accent
#D25695
background
#F9F7FA
surface
#F2EDF5
border
#CCC8CF
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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