#643B87#643B87

#643B87 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 43.7% C 0.126 H 306.8°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#643B87
RGBrgb(100, 59, 135)
HSLhsl(272, 39%, 38%)
HSVhsv(272, 56%, 53%)
CMYKcmyk(25.9%, 56.3%, 0%, 47.1%)
CIE-LABlab(33.11, 33.40, -35.80)
CIE-LCHlch(33.11, 48.96, 313.02°)
OKLaboklab(43.74% 0.0754 -0.1006)
OKLCHoklch(43.74% 0.126 306.8)
XYZxyz(11.1918, 7.5866, 23.7917)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643B87 #5E873B
analogous
#3E3B87 #643B87 #873B84
triadic
#643B87 #87643B #3B8764
tetradic
#643B87 #873E3B #5E873B #3B8487
square
#643B87 #873E3B #5E873B #3B8487
split-complementary
#643B87 #84873B #3B873E
monochromatic
#251632 #44285C #643B87 #844EB2 #A178C4

Accessibility & contrast

On white

8.34
#643B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#643B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643B87
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643B87#FFFFFF#000000##FFFFFF
##643B871.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224C8A
Deuteranopia (green-blind)
#304E85
Tritanopia (blue-blind)
#5F495B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #643b87;
/* rgb */ color: rgb(100, 59, 135);
/* oklch */ color: oklch(43.7% 0.126 306.8);
Tailwind
colors: {
  custom: {
    50: '#9272aa',
    500: '#643b87',
    950: '#000000',
  },
}
SCSS
$custom: #643b87;
$custom-light: #9272aa;
$custom-dark: #000000;
JSON
{
  "hex": "#643b87",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 135
  },
  "hsl": {
    "h": 272.368,
    "s": 39.175,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43738,
    "c": 0.12578,
    "h": 306.8
  },
  "luminance": 0.07587
}

Semantic roles & 50–950 ramp

primary
#643B87
secondary
#8CAE70
accent
#CF598F
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643B87

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

Preview Lab → · Contrast checker → · Palette generator →

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