#643D89#643D89

#643D89 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.2% C 0.125 H 305.6°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#643D89
RGBrgb(100, 61, 137)
HSLhsl(271, 38%, 39%)
HSVhsv(271, 55%, 54%)
CMYKcmyk(27%, 55.5%, 0%, 46.3%)
CIE-LABlab(33.67, 32.74, -36.12)
CIE-LCHlch(33.67, 48.76, 312.19°)
OKLaboklab(44.2% 0.0727 -0.1016)
OKLCHoklch(44.2% 0.125 305.6)
XYZxyz(11.4387, 7.8530, 24.5752)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643D89 #62893D
analogous
#3E3D89 #643D89 #893D88
triadic
#643D89 #89643D #3D8964
tetradic
#643D89 #893E3D #62893D #3D8889
square
#643D89 #893E3D #62893D #3D8889
split-complementary
#643D89 #88893D #3D893E
monochromatic
#261734 #452A5F #643D89 #8351B2 #A17CC5

Accessibility & contrast

On white

8.17
#643D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#643D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643D89
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643D89#FFFFFF#000000##FFFFFF
##643D891.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244E8C
Deuteranopia (green-blind)
#304F87
Tritanopia (blue-blind)
#5E4B5D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #643d89;
/* rgb */ color: rgb(100, 61, 137);
/* oklch */ color: oklch(44.2% 0.125 305.6);
Tailwind
colors: {
  custom: {
    50: '#9274ac',
    500: '#643d89',
    950: '#000000',
  },
}
SCSS
$custom: #643d89;
$custom-light: #9274ac;
$custom-dark: #000000;
JSON
{
  "hex": "#643d89",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 137
  },
  "hsl": {
    "h": 270.789,
    "s": 38.384,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44196,
    "c": 0.12496,
    "h": 305.6
  },
  "luminance": 0.07853
}

Semantic roles & 50–950 ramp

primary
#643D89
secondary
#90AE73
accent
#CE5992
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643D89

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

Preview Lab → · Contrast checker → · Palette generator →

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