#643E9F#643E9F

#643E9F is a mid, vivid violet. Relative luminance 0.087; OKLCH L 45.9% C 0.151 H 298.3°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#643E9F
RGBrgb(100, 62, 159)
HSLhsl(264, 44%, 43%)
HSVhsv(264, 61%, 62%)
CMYKcmyk(37.1%, 61%, 0%, 37.6%)
CIE-LABlab(35.32, 37.96, -46.90)
CIE-LCHlch(35.32, 60.34, 308.99°)
OKLaboklab(45.86% 0.0716 -0.1332)
OKLCHoklch(45.86% 0.151 298.3)
XYZxyz(13.2346, 8.6576, 33.7680)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643E9F #799F3E
analogous
#3E499F #643E9F #943E9F
triadic
#643E9F #9F643E #3E9F64
tetradic
#643E9F #9F3E49 #799F3E #3E9F94
square
#643E9F #9F3E49 #799F3E #3E9F94
split-complementary
#643E9F #9F943E #499F3E
monochromatic
#2D1C47 #482D73 #643E9F #825BBF #A487D0

Accessibility & contrast

On white

7.69
#643E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#643E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643E9F
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643E9F#FFFFFF#000000##FFFFFF
##643E9F1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #643e9f;
/* rgb */ color: rgb(100, 62, 159);
/* oklch */ color: oklch(45.9% 0.151 298.3);
Tailwind
colors: {
  custom: {
    50: '#9475bc',
    500: '#643e9f',
    950: '#000000',
  },
}
SCSS
$custom: #643e9f;
$custom-light: #9475bc;
$custom-dark: #000000;
JSON
{
  "hex": "#643e9f",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 159
  },
  "hsl": {
    "h": 263.505,
    "s": 43.891,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45857,
    "c": 0.15127,
    "h": 298.3
  },
  "luminance": 0.08658
}

Semantic roles & 50–950 ramp

primary
#643E9F
secondary
#A3BB7E
accent
#D454A2
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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