#643F96#643F96

#643F96 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.4% C 0.138 H 300.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#643F96
RGBrgb(100, 63, 150)
HSLhsl(266, 41%, 42%)
HSVhsv(266, 58%, 59%)
CMYKcmyk(33.3%, 58%, 0%, 41.2%)
CIE-LABlab(34.94, 34.97, -42.06)
CIE-LCHlch(34.94, 54.70, 309.74°)
OKLaboklab(45.39% 0.0705 -0.119)
OKLCHoklch(45.39% 0.138 300.6)
XYZxyz(12.5368, 8.4663, 29.8219)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643F96 #71963F
analogous
#3F4696 #643F96 #903F96
triadic
#643F96 #96643F #3F9664
tetradic
#643F96 #963F46 #71963F #3F9690
square
#643F96 #963F46 #71963F #3F9690
split-complementary
#643F96 #96903F #46963F
monochromatic
#2B1B40 #472D6B #643F96 #8259B9 #A284CB

Accessibility & contrast

On white

7.80
#643F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#643F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643F96
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643F96#FFFFFF#000000##FFFFFF
##643F961.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185299
Deuteranopia (green-blind)
#275294
Tritanopia (blue-blind)
#5A5164
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #643f96;
/* rgb */ color: rgb(100, 63, 150);
/* oklch */ color: oklch(45.4% 0.138 300.6);
Tailwind
colors: {
  custom: {
    50: '#9375b5',
    500: '#643f96',
    950: '#000000',
  },
}
SCSS
$custom: #643f96;
$custom-light: #9375b5;
$custom-dark: #000000;
JSON
{
  "hex": "#643f96",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 150
  },
  "hsl": {
    "h": 265.517,
    "s": 40.845,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45387,
    "c": 0.13832,
    "h": 300.6
  },
  "luminance": 0.08466
}

Semantic roles & 50–950 ramp

primary
#643F96
secondary
#9DB67B
accent
#D1579D
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643F96

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

Preview Lab → · Contrast checker → · Palette generator →

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