#643C99#643C99

#643C99 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.1% C 0.147 H 300.4°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#643C99
RGBrgb(100, 60, 153)
HSLhsl(266, 44%, 42%)
HSVhsv(266, 61%, 60%)
CMYKcmyk(34.6%, 60.8%, 0%, 40%)
CIE-LABlab(34.48, 37.49, -44.62)
CIE-LCHlch(34.48, 58.28, 310.04°)
OKLaboklab(45.12% 0.0743 -0.1265)
OKLCHoklch(45.12% 0.147 300.4)
XYZxyz(12.6198, 8.2409, 31.0566)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643C99 #71993C
analogous
#3C4399 #643C99 #933C99
triadic
#643C99 #99643C #3C9964
tetradic
#643C99 #993C43 #71993C #3C9993
square
#643C99 #993C43 #71993C #3C9993
split-complementary
#643C99 #99933C #43993C
monochromatic
#2B1A41 #472B6D #643C99 #8256BD #A282CE

Accessibility & contrast

On white

7.93
#643C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#643C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643C99
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643C99#FFFFFF#000000##FFFFFF
##643C991.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06519C
Deuteranopia (green-blind)
#1E5097
Tritanopia (blue-blind)
#594F64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #643c99;
/* rgb */ color: rgb(100, 60, 153);
/* oklch */ color: oklch(45.1% 0.147 300.4);
Tailwind
colors: {
  custom: {
    50: '#9474b8',
    500: '#643c99',
    950: '#000000',
  },
}
SCSS
$custom: #643c99;
$custom-light: #9474b8;
$custom-dark: #000000;
JSON
{
  "hex": "#643c99",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 153
  },
  "hsl": {
    "h": 265.806,
    "s": 43.662,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45116,
    "c": 0.14675,
    "h": 300.4
  },
  "luminance": 0.08241
}

Semantic roles & 50–950 ramp

primary
#643C99
secondary
#9DB879
accent
#D3549D
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643C99

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

Preview Lab → · Contrast checker → · Palette generator →

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