#643A7F#643A7F

#643A7F is a dark, moderate violet. Relative luminance 0.073; OKLCH L 43.1% C 0.118 H 310.5°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#643A7F
RGBrgb(100, 58, 127)
HSLhsl(277, 37%, 36%)
HSVhsv(277, 54%, 50%)
CMYKcmyk(21.3%, 54.3%, 0%, 50.2%)
CIE-LABlab(32.41, 32.00, -31.94)
CIE-LCHlch(32.41, 45.21, 315.05°)
OKLaboklab(43.07% 0.0763 -0.0894)
OKLCHoklch(43.07% 0.118 310.5)
XYZxyz(10.5986, 7.2679, 20.9191)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643A7F #557F3A
analogous
#423A7F #643A7F #7F3A78
triadic
#643A7F #7F643A #3A7F64
tetradic
#643A7F #7F423A #557F3A #3A787F
square
#643A7F #7F423A #557F3A #3A787F
split-complementary
#643A7F #787F3A #3A7F42
monochromatic
#22142B #432755 #643A7F #854DA9 #A274BF

Accessibility & contrast

On white

8.56
#643A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#643A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643A7F
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643A7F#FFFFFF#000000##FFFFFF
##643A7F1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274A81
Deuteranopia (green-blind)
#344D7D
Tritanopia (blue-blind)
#614657
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #643a7f;
/* rgb */ color: rgb(100, 58, 127);
/* oklch */ color: oklch(43.1% 0.118 310.5);
Tailwind
colors: {
  custom: {
    50: '#9272a4',
    500: '#643a7f',
    950: '#000000',
  },
}
SCSS
$custom: #643a7f;
$custom-light: #9272a4;
$custom-dark: #000000;
JSON
{
  "hex": "#643a7f",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 127
  },
  "hsl": {
    "h": 276.522,
    "s": 37.297,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4307,
    "c": 0.11752,
    "h": 310.5
  },
  "luminance": 0.07268
}

Semantic roles & 50–950 ramp

primary
#643A7F
secondary
#84A96C
accent
#CD5B87
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #643A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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