#643D9F#643D9F

#643D9F is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.7% C 0.153 H 298.5°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#643D9F
RGBrgb(100, 61, 159)
HSLhsl(264, 45%, 43%)
HSVhsv(264, 62%, 62%)
CMYKcmyk(37.1%, 61.6%, 0%, 37.6%)
CIE-LABlab(35.10, 38.53, -47.24)
CIE-LCHlch(35.10, 60.97, 309.20°)
OKLaboklab(45.7% 0.0729 -0.1342)
OKLCHoklch(45.7% 0.153 298.5)
XYZxyz(13.1807, 8.5499, 33.7500)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643D9F #789F3D
analogous
#3D479F #643D9F #953D9F
triadic
#643D9F #9F643D #3D9F64
tetradic
#643D9F #9F3D47 #789F3D #3D9F95
square
#643D9F #9F3D47 #789F3D #3D9F95
split-complementary
#643D9F #9F953D #479F3D
monochromatic
#2C1B47 #482C73 #643D9F #825AC0 #A486D1

Accessibility & contrast

On white

7.75
#643D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#643D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643D9F
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643D9F#FFFFFF#000000##FFFFFF
##643D9F1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#16529D
Tritanopia (blue-blind)
#575268
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #643d9f;
/* rgb */ color: rgb(100, 61, 159);
/* oklch */ color: oklch(45.7% 0.153 298.5);
Tailwind
colors: {
  custom: {
    50: '#9474bc',
    500: '#643d9f',
    950: '#000000',
  },
}
SCSS
$custom: #643d9f;
$custom-light: #9474bc;
$custom-dark: #000000;
JSON
{
  "hex": "#643d9f",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 159
  },
  "hsl": {
    "h": 263.878,
    "s": 44.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45701,
    "c": 0.15274,
    "h": 298.5
  },
  "luminance": 0.0855
}

Semantic roles & 50–950 ramp

primary
#643D9F
secondary
#A2BB7D
accent
#D454A1
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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