#643A89#643A89

#643A89 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.7% C 0.130 H 306.3°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#643A89
RGBrgb(100, 58, 137)
HSLhsl(272, 41%, 38%)
HSVhsv(272, 58%, 54%)
CMYKcmyk(27%, 57.7%, 0%, 46.3%)
CIE-LABlab(33.01, 34.49, -37.19)
CIE-LCHlch(33.01, 50.72, 312.84°)
OKLaboklab(43.71% 0.0769 -0.1047)
OKLCHoklch(43.71% 0.13 306.3)
XYZxyz(11.2830, 7.5417, 24.5233)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643A89 #5F893A
analogous
#3C3A89 #643A89 #893A86
triadic
#643A89 #89643A #3A8964
tetradic
#643A89 #893C3A #5F893A #3A8689
square
#643A89 #893C3A #5F893A #3A8689
split-complementary
#643A89 #86893A #3A893C
monochromatic
#251633 #45285E #643A89 #834DB4 #A178C6

Accessibility & contrast

On white

8.37
#643A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#643A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643A89
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643A89#FFFFFF#000000##FFFFFF
##643A891.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4C8C
Deuteranopia (green-blind)
#2D4E87
Tritanopia (blue-blind)
#5E495C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #643a89;
/* rgb */ color: rgb(100, 58, 137);
/* oklch */ color: oklch(43.7% 0.130 306.3);
Tailwind
colors: {
  custom: {
    50: '#9372ac',
    500: '#643a89',
    950: '#000000',
  },
}
SCSS
$custom: #643a89;
$custom-light: #9372ac;
$custom-dark: #000000;
JSON
{
  "hex": "#643a89",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 137
  },
  "hsl": {
    "h": 271.899,
    "s": 40.513,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43707,
    "c": 0.12994,
    "h": 306.3
  },
  "luminance": 0.07542
}

Semantic roles & 50–950 ramp

primary
#643A89
secondary
#8DAF70
accent
#D05790
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643A89

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

Preview Lab → · Contrast checker → · Palette generator →

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