#643B89#643B89

#643B89 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 43.9% C 0.128 H 306.1°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#643B89
RGBrgb(100, 59, 137)
HSLhsl(272, 40%, 38%)
HSVhsv(272, 57%, 54%)
CMYKcmyk(27%, 56.9%, 0%, 46.3%)
CIE-LABlab(33.23, 33.91, -36.84)
CIE-LCHlch(33.23, 50.07, 312.63°)
OKLaboklab(43.87% 0.0755 -0.1037)
OKLCHoklch(43.87% 0.128 306.1)
XYZxyz(11.3339, 7.6435, 24.5403)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643B89 #60893B
analogous
#3D3B89 #643B89 #893B87
triadic
#643B89 #89643B #3B8964
tetradic
#643B89 #893D3B #60893B #3B8789
square
#643B89 #893D3B #60893B #3B8789
split-complementary
#643B89 #87893B #3B893D
monochromatic
#261633 #45295E #643B89 #834EB3 #A179C5

Accessibility & contrast

On white

8.30
#643B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#643B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643B89
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643B89#FFFFFF#000000##FFFFFF
##643B891.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204D8C
Deuteranopia (green-blind)
#2E4E87
Tritanopia (blue-blind)
#5E4A5C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #643b89;
/* rgb */ color: rgb(100, 59, 137);
/* oklch */ color: oklch(43.9% 0.128 306.1);
Tailwind
colors: {
  custom: {
    50: '#9373ac',
    500: '#643b89',
    950: '#000000',
  },
}
SCSS
$custom: #643b89;
$custom-light: #9373ac;
$custom-dark: #000000;
JSON
{
  "hex": "#643b89",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 137
  },
  "hsl": {
    "h": 271.538,
    "s": 39.796,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43868,
    "c": 0.12828,
    "h": 306.1
  },
  "luminance": 0.07643
}

Semantic roles & 50–950 ramp

primary
#643B89
secondary
#8EAF71
accent
#D05891
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643B89

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

Preview Lab → · Contrast checker → · Palette generator →

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