#643D7C#643D7C

#643D7C is a dark, moderate violet. Relative luminance 0.075; OKLCH L 43.4% C 0.108 H 311.2°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#643D7C
RGBrgb(100, 61, 124)
HSLhsl(277, 34%, 36%)
HSVhsv(277, 51%, 49%)
CMYKcmyk(19.4%, 50.8%, 0%, 51.4%)
CIE-LABlab(32.92, 29.50, -29.26)
CIE-LCHlch(32.92, 41.55, 315.24°)
OKLaboklab(43.4% 0.0715 -0.0816)
OKLCHoklch(43.4% 0.108 311.2)
XYZxyz(10.5617, 7.5023, 19.9566)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643D7C #557C3D
analogous
#453D7C #643D7C #7C3D75
triadic
#643D7C #7C643D #3D7C64
tetradic
#643D7C #7C453D #557C3D #3D757C
square
#643D7C #7C453D #557C3D #3D757C
split-complementary
#643D7C #757C3D #3D7C45
monochromatic
#22152A #432953 #643D7C #8551A5 #A277BC

Accessibility & contrast

On white

8.40
#643D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#643D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643D7C
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643D7C#FFFFFF#000000##FFFFFF
##643D7C1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4B7E
Deuteranopia (green-blind)
#394E7A
Tritanopia (blue-blind)
#614756
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #643d7c;
/* rgb */ color: rgb(100, 61, 124);
/* oklch */ color: oklch(43.4% 0.108 311.2);
Tailwind
colors: {
  custom: {
    50: '#9274a2',
    500: '#643d7c',
    950: '#000000',
  },
}
SCSS
$custom: #643d7c;
$custom-light: #9274a2;
$custom-dark: #000000;
JSON
{
  "hex": "#643d7c",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 124
  },
  "hsl": {
    "h": 277.143,
    "s": 34.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43397,
    "c": 0.10846,
    "h": 311.2
  },
  "luminance": 0.07502
}

Semantic roles & 50–950 ramp

primary
#643D7C
secondary
#84A66F
accent
#CA5E87
background
#F9F7FA
surface
#F1EDF3
border
#CBC8CD
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #643D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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