#643F89#643F89

#643F89 is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.5% C 0.122 H 305.1°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#643F89
RGBrgb(100, 63, 137)
HSLhsl(270, 37%, 39%)
HSVhsv(270, 54%, 54%)
CMYKcmyk(27%, 54%, 0%, 46.3%)
CIE-LABlab(34.13, 31.56, -35.40)
CIE-LCHlch(34.13, 47.43, 311.72°)
OKLaboklab(44.53% 0.0699 -0.0995)
OKLCHoklch(44.53% 0.122 305.1)
XYZxyz(11.5474, 8.0705, 24.6115)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643F89 #64893F
analogous
#3F3F89 #643F89 #893F89
triadic
#643F89 #89643F #3F8964
tetradic
#643F89 #893F3F #64893F #3F8989
square
#643F89 #893F3F #64893F #3F8989
split-complementary
#643F89 #89893F #3F893F
monochromatic
#271835 #452C5F #643F89 #8355B1 #A17EC4

Accessibility & contrast

On white

8.03
#643F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#643F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643F89
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643F89#FFFFFF#000000##FFFFFF
##643F891.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274F8C
Deuteranopia (green-blind)
#335087
Tritanopia (blue-blind)
#5E4C5E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #643f89;
/* rgb */ color: rgb(100, 63, 137);
/* oklch */ color: oklch(44.5% 0.122 305.1);
Tailwind
colors: {
  custom: {
    50: '#9275ac',
    500: '#643f89',
    950: '#000000',
  },
}
SCSS
$custom: #643f89;
$custom-light: #9275ac;
$custom-dark: #000000;
JSON
{
  "hex": "#643f89",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 137
  },
  "hsl": {
    "h": 270,
    "s": 37,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44532,
    "c": 0.12159,
    "h": 305.1
  },
  "luminance": 0.0807
}

Semantic roles & 50–950 ramp

primary
#643F89
secondary
#92AE76
accent
#CD5B94
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643F89

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

Preview Lab → · Contrast checker → · Palette generator →

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