#643C9C#643C9C

#643C9C is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.3% C 0.150 H 299.6°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#643C9C
RGBrgb(100, 60, 156)
HSLhsl(265, 44%, 42%)
HSVhsv(265, 62%, 61%)
CMYKcmyk(35.9%, 61.5%, 0%, 38.8%)
CIE-LABlab(34.68, 38.29, -46.11)
CIE-LCHlch(34.68, 59.94, 309.71°)
OKLaboklab(45.33% 0.0742 -0.1309)
OKLCHoklch(45.33% 0.15 299.6)
XYZxyz(12.8707, 8.3412, 32.3780)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643C9C #749C3C
analogous
#3C449C #643C9C #943C9C
triadic
#643C9C #9C643C #3C9C64
tetradic
#643C9C #9C3C44 #749C3C #3C9C94
square
#643C9C #9C3C44 #749C3C #3C9C94
split-complementary
#643C9C #9C943C #449C3C
monochromatic
#2B1A44 #482B70 #643C9C #8257BE #A383CF

Accessibility & contrast

On white

7.87
#643C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#643C9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643C9C
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643C9C#FFFFFF#000000##FFFFFF
##643C9C1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#19519A
Tritanopia (blue-blind)
#585066
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #643c9c;
/* rgb */ color: rgb(100, 60, 156);
/* oklch */ color: oklch(45.3% 0.150 299.6);
Tailwind
colors: {
  custom: {
    50: '#9474ba',
    500: '#643c9c',
    950: '#000000',
  },
}
SCSS
$custom: #643c9c;
$custom-light: #9474ba;
$custom-dark: #000000;
JSON
{
  "hex": "#643c9c",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 156
  },
  "hsl": {
    "h": 265,
    "s": 44.444,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4533,
    "c": 0.15049,
    "h": 299.6
  },
  "luminance": 0.08341
}

Semantic roles & 50–950 ramp

primary
#643C9C
secondary
#9FB97A
accent
#D4549F
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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