#643A8E#643A8E

#643A8E is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.0% C 0.136 H 304.5°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#643A8E
RGBrgb(100, 58, 142)
HSLhsl(270, 42%, 39%)
HSVhsv(270, 59%, 56%)
CMYKcmyk(29.6%, 59.2%, 0%, 44.3%)
CIE-LABlab(33.33, 35.76, -39.76)
CIE-LCHlch(33.33, 53.47, 311.97°)
OKLaboklab(44.04% 0.077 -0.1122)
OKLCHoklch(44.04% 0.136 304.5)
XYZxyz(11.6500, 7.6885, 26.4562)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643A8E #648E3A
analogous
#3A3A8E #643A8E #8E3A8E
triadic
#643A8E #8E643A #3A8E64
tetradic
#643A8E #8E3A3A #648E3A #3A8E8E
square
#643A8E #8E3A3A #648E3A #3A8E8E
split-complementary
#643A8E #8E8E3A #3A8E3A
monochromatic
#271737 #452863 #643A8E #834EB7 #A17AC9

Accessibility & contrast

On white

8.28
#643A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#643A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643A8E
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643A8E#FFFFFF#000000##FFFFFF
##643A8E1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174D91
Deuteranopia (green-blind)
#284E8C
Tritanopia (blue-blind)
#5D4A5E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #643a8e;
/* rgb */ color: rgb(100, 58, 142);
/* oklch */ color: oklch(44.0% 0.136 304.5);
Tailwind
colors: {
  custom: {
    50: '#9372af',
    500: '#643a8e',
    950: '#000000',
  },
}
SCSS
$custom: #643a8e;
$custom-light: #9372af;
$custom-dark: #000000;
JSON
{
  "hex": "#643a8e",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 142
  },
  "hsl": {
    "h": 270,
    "s": 42,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4404,
    "c": 0.13614,
    "h": 304.5
  },
  "luminance": 0.07688
}

Semantic roles & 50–950 ramp

primary
#643A8E
secondary
#92B272
accent
#D25694
background
#F9F7FA
surface
#F2EDF5
border
#CCC8CF
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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