#643E8D#643E8D

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

Color values

HEX#643E8D
RGBrgb(100, 62, 141)
HSLhsl(269, 39%, 40%)
HSVhsv(269, 56%, 55%)
CMYKcmyk(29.1%, 56%, 0%, 44.7%)
CIE-LABlab(34.14, 33.19, -37.83)
CIE-LCHlch(34.14, 50.33, 311.25°)
OKLaboklab(44.62% 0.0715 -0.1066)
OKLCHoklch(44.62% 0.128 303.9)
XYZxyz(11.7848, 8.0777, 26.1324)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643E8D #678D3E
analogous
#3E408D #643E8D #8C3E8D
triadic
#643E8D #8D643E #3E8D64
tetradic
#643E8D #8D3E40 #678D3E #3E8D8C
square
#643E8D #8D3E40 #678D3E #3E8D8C
split-complementary
#643E8D #8D8C3E #408D3E
monochromatic
#281938 #462B62 #643E8D #8254B4 #A17FC7

Accessibility & contrast

On white

8.03
#643E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #643E8D
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643E8D#FFFFFF#000000##FFFFFF
##643E8D1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214F90
Deuteranopia (green-blind)
#2E508B
Tritanopia (blue-blind)
#5D4D5F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #643e8d;
/* rgb */ color: rgb(100, 62, 141);
/* oklch */ color: oklch(44.6% 0.128 303.9);
Tailwind
colors: {
  custom: {
    50: '#9375af',
    500: '#643e8d',
    950: '#000000',
  },
}
SCSS
$custom: #643e8d;
$custom-light: #9375af;
$custom-dark: #000000;
JSON
{
  "hex": "#643e8d",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 141
  },
  "hsl": {
    "h": 268.861,
    "s": 38.916,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44621,
    "c": 0.1284,
    "h": 303.9
  },
  "luminance": 0.08078
}

Semantic roles & 50–950 ramp

primary
#643E8D
secondary
#95B176
accent
#CF5996
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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