#643C95#643C95

#643C95 is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.8% C 0.142 H 301.7°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#643C95
RGBrgb(100, 60, 149)
HSLhsl(267, 43%, 41%)
HSVhsv(267, 60%, 58%)
CMYKcmyk(32.9%, 59.7%, 0%, 41.6%)
CIE-LABlab(34.21, 36.44, -42.62)
CIE-LCHlch(34.21, 56.07, 310.53°)
OKLaboklab(44.84% 0.0744 -0.1206)
OKLCHoklch(44.84% 0.142 301.7)
XYZxyz(12.2949, 8.1109, 29.3458)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643C95 #6D953C
analogous
#3C4095 #643C95 #903C95
triadic
#643C95 #95643C #3C9564
tetradic
#643C95 #953C40 #6D953C #3C9590
square
#643C95 #953C40 #6D953C #3C9590
split-complementary
#643C95 #95903C #40953C
monochromatic
#29193E #472A69 #643C95 #8254BA #A280CC

Accessibility & contrast

On white

8.01
#643C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #643C95
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643C95#FFFFFF#000000##FFFFFF
##643C951.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115098
Deuteranopia (green-blind)
#235093
Tritanopia (blue-blind)
#5A4E62
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #643c95;
/* rgb */ color: rgb(100, 60, 149);
/* oklch */ color: oklch(44.8% 0.142 301.7);
Tailwind
colors: {
  custom: {
    50: '#9373b5',
    500: '#643c95',
    950: '#000000',
  },
}
SCSS
$custom: #643c95;
$custom-light: #9373b5;
$custom-dark: #000000;
JSON
{
  "hex": "#643c95",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 149
  },
  "hsl": {
    "h": 266.966,
    "s": 42.584,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44836,
    "c": 0.14174,
    "h": 301.7
  },
  "luminance": 0.08111
}

Semantic roles & 50–950 ramp

primary
#643C95
secondary
#9AB677
accent
#D2559A
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643C95

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

Preview Lab → · Contrast checker → · Palette generator →

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