#643C9E#643C9E

#643C9E is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.5% C 0.153 H 299.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#643C9E
RGBrgb(100, 60, 158)
HSLhsl(264, 45%, 43%)
HSVhsv(264, 62%, 62%)
CMYKcmyk(36.7%, 62%, 0%, 38%)
CIE-LABlab(34.82, 38.83, -47.09)
CIE-LCHlch(34.82, 61.04, 309.51°)
OKLaboklab(45.48% 0.0741 -0.1338)
OKLCHoklch(45.48% 0.153 299)
XYZxyz(13.0414, 8.4095, 33.2772)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643C9E #769E3C
analogous
#3C459E #643C9E #953C9E
triadic
#643C9E #9E643C #3C9E64
tetradic
#643C9E #9E3C45 #769E3C #3C9E95
square
#643C9E #9E3C45 #769E3C #3C9E95
split-complementary
#643C9E #9E953C #459E3C
monochromatic
#2C1A45 #482B72 #643C9E #8258BF #A384D0

Accessibility & contrast

On white

7.83
#643C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#643C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643C9E
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643C9E#FFFFFF#000000##FFFFFF
##643C9E1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#15519C
Tritanopia (blue-blind)
#575167
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #643c9e;
/* rgb */ color: rgb(100, 60, 158);
/* oklch */ color: oklch(45.5% 0.153 299.0);
Tailwind
colors: {
  custom: {
    50: '#9474bb',
    500: '#643c9e',
    950: '#000000',
  },
}
SCSS
$custom: #643c9e;
$custom-light: #9474bb;
$custom-dark: #000000;
JSON
{
  "hex": "#643c9e",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 158
  },
  "hsl": {
    "h": 264.49,
    "s": 44.954,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45475,
    "c": 0.15297,
    "h": 299
  },
  "luminance": 0.0841
}

Semantic roles & 50–950 ramp

primary
#643C9E
secondary
#A1BA7B
accent
#D553A0
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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