#643FAF#643FAF

#643FAF is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.2% C 0.170 H 294.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#643FAF
RGBrgb(100, 63, 175)
HSLhsl(260, 47%, 47%)
HSVhsv(260, 64%, 69%)
CMYKcmyk(42.9%, 64%, 0%, 31.4%)
CIE-LABlab(36.67, 41.79, -54.29)
CIE-LCHlch(36.67, 68.52, 307.59°)
OKLaboklab(47.2% 0.0694 -0.155)
OKLCHoklch(47.2% 0.17 294.1)
XYZxyz(14.7688, 9.3591, 41.5775)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643FAF #8AAF3F
analogous
#3F52AF #643FAF #9C3FAF
triadic
#643FAF #AF643F #3FAF64
tetradic
#643FAF #AF3F52 #8AAF3F #3FAF9C
square
#643FAF #AF3F52 #8AAF3F #3FAF9C
split-complementary
#643FAF #AF9C3F #52AF3F
monochromatic
#311F55 #4A2F82 #643FAF #8564C7 #A891D7

Accessibility & contrast

On white

7.31
#643FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#643FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643FAF
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643FAF#FFFFFF#000000##FFFFFF
##643FAF1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#505971
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #643faf;
/* rgb */ color: rgb(100, 63, 175);
/* oklch */ color: oklch(47.2% 0.170 294.1);
Tailwind
colors: {
  custom: {
    50: '#9676c8',
    500: '#643faf',
    950: '#000000',
  },
}
SCSS
$custom: #643faf;
$custom-light: #9676c8;
$custom-dark: #000000;
JSON
{
  "hex": "#643faf",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 259.821,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.472,
    "c": 0.16982,
    "h": 294.1
  },
  "luminance": 0.09359
}

Semantic roles & 50–950 ramp

primary
#643FAF
secondary
#AFC387
accent
#D751AB
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #643FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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