#643B7E#643B7E

#643B7E is a dark, moderate violet. Relative luminance 0.073; OKLCH L 43.2% C 0.115 H 310.7°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#643B7E
RGBrgb(100, 59, 126)
HSLhsl(277, 36%, 36%)
HSVhsv(277, 53%, 49%)
CMYKcmyk(20.6%, 53.2%, 0%, 50.6%)
CIE-LABlab(32.58, 31.17, -31.05)
CIE-LCHlch(32.58, 44.00, 315.11°)
OKLaboklab(43.18% 0.0747 -0.0868)
OKLCHoklch(43.18% 0.115 310.7)
XYZxyz(10.5847, 7.3438, 20.5945)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643B7E #557E3B
analogous
#433B7E #643B7E #7E3B77
triadic
#643B7E #7E643B #3B7E64
tetradic
#643B7E #7E433B #557E3B #3B777E
square
#643B7E #7E433B #557E3B #3B777E
split-complementary
#643B7E #777E3B #3B7E43
monochromatic
#22142B #432754 #643B7E #854FA8 #A275BE

Accessibility & contrast

On white

8.51
#643B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#643B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643B7E
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643B7E#FFFFFF#000000##FFFFFF
##643B7E1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4B80
Deuteranopia (green-blind)
#364D7C
Tritanopia (blue-blind)
#614657
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #643b7e;
/* rgb */ color: rgb(100, 59, 126);
/* oklch */ color: oklch(43.2% 0.115 310.7);
Tailwind
colors: {
  custom: {
    50: '#9272a4',
    500: '#643b7e',
    950: '#000000',
  },
}
SCSS
$custom: #643b7e;
$custom-light: #9272a4;
$custom-dark: #000000;
JSON
{
  "hex": "#643b7e",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 126
  },
  "hsl": {
    "h": 276.716,
    "s": 36.216,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43176,
    "c": 0.11453,
    "h": 310.7
  },
  "luminance": 0.07344
}

Semantic roles & 50–950 ramp

primary
#643B7E
secondary
#84A86D
accent
#CC5C87
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #643B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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