#643F93#643F93

#643F93 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.2% C 0.134 H 301.6°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#643F93
RGBrgb(100, 63, 147)
HSLhsl(266, 40%, 41%)
HSVhsv(266, 57%, 58%)
CMYKcmyk(32%, 57.1%, 0%, 42.4%)
CIE-LABlab(34.74, 34.17, -40.55)
CIE-LCHlch(34.74, 53.02, 310.12°)
OKLaboklab(45.18% 0.0704 -0.1146)
OKLCHoklch(45.18% 0.134 301.6)
XYZxyz(12.2983, 8.3709, 28.5659)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643F93 #6E933F
analogous
#3F4493 #643F93 #8E3F93
triadic
#643F93 #93643F #3F9364
tetradic
#643F93 #933F44 #6E933F #3F938E
square
#643F93 #933F44 #6E933F #3F938E
split-complementary
#643F93 #938E3F #44933F
monochromatic
#2A1A3D #472D68 #643F93 #8258B7 #A283CA

Accessibility & contrast

On white

7.85
#643F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #643F93
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643F93#FFFFFF#000000##FFFFFF
##643F931.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5196
Deuteranopia (green-blind)
#2A5191
Tritanopia (blue-blind)
#5B5063
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #643f93;
/* rgb */ color: rgb(100, 63, 147);
/* oklch */ color: oklch(45.2% 0.134 301.6);
Tailwind
colors: {
  custom: {
    50: '#9375b3',
    500: '#643f93',
    950: '#000000',
  },
}
SCSS
$custom: #643f93;
$custom-light: #9375b3;
$custom-dark: #000000;
JSON
{
  "hex": "#643f93",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 147
  },
  "hsl": {
    "h": 266.429,
    "s": 40,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45184,
    "c": 0.13447,
    "h": 301.6
  },
  "luminance": 0.08371
}

Semantic roles & 50–950 ramp

primary
#643F93
secondary
#9AB47A
accent
#D0589B
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643F93

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

Preview Lab → · Contrast checker → · Palette generator →

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