#643E95#643E95

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

Color values

HEX#643E95
RGBrgb(100, 62, 149)
HSLhsl(266, 41%, 41%)
HSVhsv(266, 58%, 58%)
CMYKcmyk(32.9%, 58.4%, 0%, 41.6%)
CIE-LABlab(34.65, 35.28, -41.91)
CIE-LCHlch(34.65, 54.79, 310.09°)
OKLaboklab(45.16% 0.0718 -0.1186)
OKLCHoklch(45.16% 0.139 301.2)
XYZxyz(12.4017, 8.3244, 29.3814)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643E95 #6F953E
analogous
#3E4495 #643E95 #903E95
triadic
#643E95 #95643E #3E9564
tetradic
#643E95 #953E44 #6F953E #3E9590
square
#643E95 #953E44 #6F953E #3E9590
split-complementary
#643E95 #95903E #44953E
monochromatic
#2A1A3F #472C6A #643E95 #8257B9 #A282CB

Accessibility & contrast

On white

7.88
#643E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #643E95
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643E95#FFFFFF#000000##FFFFFF
##643E951.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175198
Deuteranopia (green-blind)
#265193
Tritanopia (blue-blind)
#5A5063
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #643e95;
/* rgb */ color: rgb(100, 62, 149);
/* oklch */ color: oklch(45.2% 0.139 301.2);
Tailwind
colors: {
  custom: {
    50: '#9375b5',
    500: '#643e95',
    950: '#000000',
  },
}
SCSS
$custom: #643e95;
$custom-light: #9375b5;
$custom-dark: #000000;
JSON
{
  "hex": "#643e95",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 266.207,
    "s": 41.232,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45156,
    "c": 0.13862,
    "h": 301.2
  },
  "luminance": 0.08325
}

Semantic roles & 50–950 ramp

primary
#643E95
secondary
#9BB57A
accent
#D1579C
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643E95

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

Preview Lab → · Contrast checker → · Palette generator →

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