#643F9C#643F9C

#643F9C is a mid, vivid violet. Relative luminance 0.087; OKLCH L 45.8% C 0.146 H 298.9°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#643F9C
RGBrgb(100, 63, 156)
HSLhsl(264, 42%, 43%)
HSVhsv(264, 60%, 61%)
CMYKcmyk(35.9%, 59.6%, 0%, 38.8%)
CIE-LABlab(35.33, 36.58, -45.07)
CIE-LCHlch(35.33, 58.04, 309.06°)
OKLaboklab(45.8% 0.0705 -0.1278)
OKLCHoklch(45.8% 0.146 298.9)
XYZxyz(13.0323, 8.6645, 32.4319)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643F9C #779C3F
analogous
#3F489C #643F9C #923F9C
triadic
#643F9C #9C643F #3F9C64
tetradic
#643F9C #9C3F48 #779C3F #3F9C92
square
#643F9C #9C3F48 #779C3F #3F9C92
split-complementary
#643F9C #9C923F #489C3F
monochromatic
#2C1C45 #482D70 #643F9C #825BBD #A387CE

Accessibility & contrast

On white

7.68
#643F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#643F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643F9C
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643F9C#FFFFFF#000000##FFFFFF
##643F9C1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C539F
Deuteranopia (green-blind)
#1F529A
Tritanopia (blue-blind)
#585267
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #643f9c;
/* rgb */ color: rgb(100, 63, 156);
/* oklch */ color: oklch(45.8% 0.146 298.9);
Tailwind
colors: {
  custom: {
    50: '#9476ba',
    500: '#643f9c',
    950: '#000000',
  },
}
SCSS
$custom: #643f9c;
$custom-light: #9476ba;
$custom-dark: #000000;
JSON
{
  "hex": "#643f9c",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 156
  },
  "hsl": {
    "h": 263.871,
    "s": 42.466,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45802,
    "c": 0.14598,
    "h": 298.9
  },
  "luminance": 0.08665
}

Semantic roles & 50–950 ramp

primary
#643F9C
secondary
#A1B97E
accent
#D256A1
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0812
muted
#7E7B81

Preview Lab

Preview with #643F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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