#643CB9#643CB9

#643CB9 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.6% C 0.186 H 292.6°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#643CB9
RGBrgb(100, 60, 185)
HSLhsl(259, 51%, 48%)
HSVhsv(259, 68%, 73%)
CMYKcmyk(45.9%, 67.6%, 0%, 27.5%)
CIE-LABlab(36.82, 46.22, -59.96)
CIE-LCHlch(36.82, 75.70, 307.63°)
OKLaboklab(47.55% 0.0715 -0.1716)
OKLCHoklch(47.55% 0.186 292.6)
XYZxyz(15.6259, 9.4433, 46.8890)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643CB9 #91B93C
analogous
#3C52B9 #643CB9 #A23CB9
triadic
#643CB9 #B9643C #3CB964
tetradic
#643CB9 #B93C52 #91B93C #3CB9A2
square
#643CB9 #B93C52 #91B93C #3CB9A2
split-complementary
#643CB9 #B9A23C #52B93C
monochromatic
#321E5D #4B2D8B #643CB9 #8665CD #AB93DC

Accessibility & contrast

On white

7.27
#643CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#643CB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643CB9
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643CB9#FFFFFF#000000##FFFFFF
##643CB91.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#0054B6
Tritanopia (blue-blind)
#4B5B75
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #643cb9;
/* rgb */ color: rgb(100, 60, 185);
/* oklch */ color: oklch(47.6% 0.186 292.6);
Tailwind
colors: {
  custom: {
    50: '#9774cf',
    500: '#643cb9',
    950: '#000000',
  },
}
SCSS
$custom: #643cb9;
$custom-light: #9774cf;
$custom-dark: #000000;
JSON
{
  "hex": "#643cb9",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 185
  },
  "hsl": {
    "h": 259.2,
    "s": 51.02,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47553,
    "c": 0.18589,
    "h": 292.6
  },
  "luminance": 0.09444
}

Semantic roles & 50–950 ramp

primary
#643CB9
secondary
#B4C789
accent
#DA4DAD
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #643CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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