#643B9D#643B9D

#643B9D is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.2% C 0.153 H 299.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#643B9D
RGBrgb(100, 59, 157)
HSLhsl(265, 45%, 42%)
HSVhsv(265, 62%, 62%)
CMYKcmyk(36.3%, 62.4%, 0%, 38.4%)
CIE-LABlab(34.54, 39.12, -46.94)
CIE-LCHlch(34.54, 61.11, 309.81°)
OKLaboklab(45.25% 0.0754 -0.1333)
OKLCHoklch(45.25% 0.153 299.5)
XYZxyz(12.9038, 8.2715, 32.8085)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643B9D #749D3B
analogous
#3B439D #643B9D #953B9D
triadic
#643B9D #9D643B #3B9D64
tetradic
#643B9D #9D3B43 #749D3B #3B9D95
square
#643B9D #9D3B43 #749D3B #3B9D95
split-complementary
#643B9D #9D953B #439D3B
monochromatic
#2B1A44 #482A71 #643B9D #8256BF #A382D0

Accessibility & contrast

On white

7.91
#643B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #643B9D
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643B9D#FFFFFF#000000##FFFFFF
##643B9D1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#15509B
Tritanopia (blue-blind)
#575066
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #643b9d;
/* rgb */ color: rgb(100, 59, 157);
/* oklch */ color: oklch(45.2% 0.153 299.5);
Tailwind
colors: {
  custom: {
    50: '#9473bb',
    500: '#643b9d',
    950: '#000000',
  },
}
SCSS
$custom: #643b9d;
$custom-light: #9473bb;
$custom-dark: #000000;
JSON
{
  "hex": "#643b9d",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 157
  },
  "hsl": {
    "h": 265.102,
    "s": 45.37,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45249,
    "c": 0.15321,
    "h": 299.5
  },
  "luminance": 0.08272
}

Semantic roles & 50–950 ramp

primary
#643B9D
secondary
#9FBA7A
accent
#D5539F
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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