#643B9F#643B9F

#643B9F is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.4% C 0.156 H 298.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#643B9F
RGBrgb(100, 59, 159)
HSLhsl(265, 46%, 43%)
HSVhsv(265, 63%, 62%)
CMYKcmyk(37.1%, 62.9%, 0%, 37.6%)
CIE-LABlab(34.68, 39.66, -47.92)
CIE-LCHlch(34.68, 62.21, 309.61°)
OKLaboklab(45.4% 0.0753 -0.1362)
OKLCHoklch(45.4% 0.156 298.9)
XYZxyz(13.0760, 8.3403, 33.7151)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643B9F #769F3B
analogous
#3B449F #643B9F #963B9F
triadic
#643B9F #9F643B #3B9F64
tetradic
#643B9F #9F3B44 #769F3B #3B9F96
square
#643B9F #9F3B44 #769F3B #3B9F96
split-complementary
#643B9F #9F963B #449F3B
monochromatic
#2C1A46 #482A72 #643B9F #8257C1 #A383D1

Accessibility & contrast

On white

7.87
#643B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#643B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643B9F
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643B9F#FFFFFF#000000##FFFFFF
##643B9F1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#11519D
Tritanopia (blue-blind)
#575167
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #643b9f;
/* rgb */ color: rgb(100, 59, 159);
/* oklch */ color: oklch(45.4% 0.156 298.9);
Tailwind
colors: {
  custom: {
    50: '#9473bc',
    500: '#643b9f',
    950: '#000000',
  },
}
SCSS
$custom: #643b9f;
$custom-light: #9473bc;
$custom-dark: #000000;
JSON
{
  "hex": "#643b9f",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 159
  },
  "hsl": {
    "h": 264.6,
    "s": 45.872,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45395,
    "c": 0.15567,
    "h": 298.9
  },
  "luminance": 0.0834
}

Semantic roles & 50–950 ramp

primary
#643B9F
secondary
#A1BB7B
accent
#D652A0
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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