#643A7C#643A7C

#643A7C is a dark, moderate violet. Relative luminance 0.072; OKLCH L 42.9% C 0.114 H 311.9°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#643A7C
RGBrgb(100, 58, 124)
HSLhsl(278, 36%, 36%)
HSVhsv(278, 53%, 49%)
CMYKcmyk(19.4%, 53.2%, 0%, 51.4%)
CIE-LABlab(32.24, 31.27, -30.34)
CIE-LCHlch(32.24, 43.57, 315.87°)
OKLaboklab(42.89% 0.076 -0.0847)
OKLCHoklch(42.89% 0.114 311.9)
XYZxyz(10.4060, 7.1909, 19.9047)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643A7C #527C3A
analogous
#433A7C #643A7C #7C3A73
triadic
#643A7C #7C643A #3A7C64
tetradic
#643A7C #7C433A #527C3A #3A737C
square
#643A7C #7C433A #527C3A #3A737C
split-complementary
#643A7C #737C3A #3A7C43
monochromatic
#211329 #422652 #643A7C #864EA6 #A273BD

Accessibility & contrast

On white

8.61
#643A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#643A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643A7C
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643A7C#FFFFFF#000000##FFFFFF
##643A7C1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294A7E
Deuteranopia (green-blind)
#364D7A
Tritanopia (blue-blind)
#614555
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #643a7c;
/* rgb */ color: rgb(100, 58, 124);
/* oklch */ color: oklch(42.9% 0.114 311.9);
Tailwind
colors: {
  custom: {
    50: '#9272a2',
    500: '#643a7c',
    950: '#000000',
  },
}
SCSS
$custom: #643a7c;
$custom-light: #9272a2;
$custom-dark: #000000;
JSON
{
  "hex": "#643a7c",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 124
  },
  "hsl": {
    "h": 278.182,
    "s": 36.264,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42887,
    "c": 0.11381,
    "h": 311.9
  },
  "luminance": 0.07191
}

Semantic roles & 50–950 ramp

primary
#643A7C
secondary
#81A76B
accent
#CC5C85
background
#F9F6FA
surface
#F1ECF3
border
#CBC7CD
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #643A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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