#643B9C#643B9C

#643B9C is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.2% C 0.152 H 299.8°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#643B9C
RGBrgb(100, 59, 156)
HSLhsl(265, 45%, 42%)
HSVhsv(265, 62%, 61%)
CMYKcmyk(35.9%, 62.2%, 0%, 38.8%)
CIE-LABlab(34.47, 38.86, -46.45)
CIE-LCHlch(34.47, 60.56, 309.92°)
OKLaboklab(45.18% 0.0755 -0.1319)
OKLCHoklch(45.18% 0.152 299.8)
XYZxyz(12.8188, 8.2374, 32.3607)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643B9C #739C3B
analogous
#3B439C #643B9C #953B9C
triadic
#643B9C #9C643B #3B9C64
tetradic
#643B9C #9C3B43 #739C3B #3B9C95
square
#643B9C #9C3B43 #739C3B #3B9C95
split-complementary
#643B9C #9C953B #439C3B
monochromatic
#2B1943 #482A70 #643B9C #8255BF #A382D0

Accessibility & contrast

On white

7.93
#643B9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#643B9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643B9C
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643B9C#FFFFFF#000000##FFFFFF
##643B9C1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #643b9c;
/* rgb */ color: rgb(100, 59, 156);
/* oklch */ color: oklch(45.2% 0.152 299.8);
Tailwind
colors: {
  custom: {
    50: '#9473ba',
    500: '#643b9c',
    950: '#000000',
  },
}
SCSS
$custom: #643b9c;
$custom-light: #9473ba;
$custom-dark: #000000;
JSON
{
  "hex": "#643b9c",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 156
  },
  "hsl": {
    "h": 265.361,
    "s": 45.116,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45176,
    "c": 0.15197,
    "h": 299.8
  },
  "luminance": 0.08238
}

Semantic roles & 50–950 ramp

primary
#643B9C
secondary
#9EB979
accent
#D5539E
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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