#643D8F#643D8F

#643D8F is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.6% C 0.133 H 303.4°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#643D8F
RGBrgb(100, 61, 143)
HSLhsl(269, 40%, 40%)
HSVhsv(269, 57%, 56%)
CMYKcmyk(30.1%, 57.3%, 0%, 43.9%)
CIE-LABlab(34.05, 34.29, -39.22)
CIE-LCHlch(34.05, 52.09, 311.16°)
OKLaboklab(44.59% 0.073 -0.1107)
OKLCHoklch(44.59% 0.133 303.4)
XYZxyz(11.8811, 8.0300, 26.9053)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643D8F #688F3D
analogous
#3D3F8F #643D8F #8D3D8F
triadic
#643D8F #8F643D #3D8F64
tetradic
#643D8F #8F3D3F #688F3D #3D8F8D
square
#643D8F #8F3D3F #688F3D #3D8F8D
split-complementary
#643D8F #8F8D3D #3F8F3D
monochromatic
#281839 #462B64 #643D8F #8253B6 #A17EC8

Accessibility & contrast

On white

8.06
#643D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#643D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643D8F
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643D8F#FFFFFF#000000##FFFFFF
##643D8F1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4F92
Deuteranopia (green-blind)
#2B508D
Tritanopia (blue-blind)
#5C4D60
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #643d8f;
/* rgb */ color: rgb(100, 61, 143);
/* oklch */ color: oklch(44.6% 0.133 303.4);
Tailwind
colors: {
  custom: {
    50: '#9374b0',
    500: '#643d8f',
    950: '#000000',
  },
}
SCSS
$custom: #643d8f;
$custom-light: #9374b0;
$custom-dark: #000000;
JSON
{
  "hex": "#643d8f",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 143
  },
  "hsl": {
    "h": 268.537,
    "s": 40.196,
    "l": 40
  },
  "oklch": {
    "l": 0.44589,
    "c": 0.13258,
    "h": 303.4
  },
  "luminance": 0.0803
}

Semantic roles & 50–950 ramp

primary
#643D8F
secondary
#95B276
accent
#D05897
background
#F9F7FA
surface
#F2EDF5
border
#CCC8CF
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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