#643A98#643A98

#643A98 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.7% C 0.149 H 301.2°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#643A98
RGBrgb(100, 58, 152)
HSLhsl(267, 45%, 41%)
HSVhsv(267, 62%, 60%)
CMYKcmyk(34.2%, 61.8%, 0%, 40.4%)
CIE-LABlab(33.99, 38.36, -44.80)
CIE-LCHlch(33.99, 58.98, 310.57°)
OKLaboklab(44.74% 0.0769 -0.1271)
OKLCHoklch(44.74% 0.149 301.2)
XYZxyz(12.4347, 8.0024, 30.5892)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643A98 #6E983A
analogous
#3A3F98 #643A98 #933A98
triadic
#643A98 #98643A #3A9864
tetradic
#643A98 #983A3F #6E983A #3A9893
square
#643A98 #983A3F #6E983A #3A9893
split-complementary
#643A98 #98933A #3F983A
monochromatic
#2A183F #47296C #643A98 #8252BD #A27ECE

Accessibility & contrast

On white

8.08
#643A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#643A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643A98
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643A98#FFFFFF#000000##FFFFFF
##643A981.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#1C4F96
Tritanopia (blue-blind)
#594E63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #643a98;
/* rgb */ color: rgb(100, 58, 152);
/* oklch */ color: oklch(44.7% 0.149 301.2);
Tailwind
colors: {
  custom: {
    50: '#9472b7',
    500: '#643a98',
    950: '#000000',
  },
}
SCSS
$custom: #643a98;
$custom-light: #9472b7;
$custom-dark: #000000;
JSON
{
  "hex": "#643a98",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 152
  },
  "hsl": {
    "h": 266.809,
    "s": 44.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44736,
    "c": 0.14852,
    "h": 301.2
  },
  "luminance": 0.08002
}

Semantic roles & 50–950 ramp

primary
#643A98
secondary
#9AB876
accent
#D4539B
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643A98

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

Preview Lab → · Contrast checker → · Palette generator →

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