#643F78#643F78

#643F78 is a dark, moderate violet. Relative luminance 0.076; OKLCH L 43.5% C 0.100 H 312.8°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#643F78
RGBrgb(100, 63, 120)
HSLhsl(279, 31%, 36%)
HSVhsv(279, 48%, 47%)
CMYKcmyk(16.7%, 47.5%, 0%, 52.9%)
CIE-LABlab(33.18, 27.34, -26.35)
CIE-LCHlch(33.18, 37.97, 316.05°)
OKLaboklab(43.52% 0.0678 -0.0732)
OKLCHoklch(43.52% 0.1 312.8)
XYZxyz(10.4226, 7.6206, 18.6875)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643F78 #53783F
analogous
#473F78 #643F78 #783F6F
triadic
#643F78 #78643F #3F7864
tetradic
#643F78 #78473F #53783F #3F6F78
square
#643F78 #78473F #53783F #3F6F78
split-complementary
#643F78 #6F783F #3F7847
monochromatic
#211528 #432A50 #643F78 #8554A0 #A279B9

Accessibility & contrast

On white

8.32
#643F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#643F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643F78
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643F78#FFFFFF#000000##FFFFFF
##643F781.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334C7A
Deuteranopia (green-blind)
#3D4F76
Tritanopia (blue-blind)
#624856
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #643f78;
/* rgb */ color: rgb(100, 63, 120);
/* oklch */ color: oklch(43.5% 0.100 312.8);
Tailwind
colors: {
  custom: {
    50: '#91759f',
    500: '#643f78',
    950: '#000000',
  },
}
SCSS
$custom: #643f78;
$custom-light: #91759f;
$custom-dark: #000000;
JSON
{
  "hex": "#643f78",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 120
  },
  "hsl": {
    "h": 278.947,
    "s": 31.148,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43517,
    "c": 0.09973,
    "h": 312.8
  },
  "luminance": 0.0762
}

Semantic roles & 50–950 ramp

primary
#643F78
secondary
#82A370
accent
#C76085
background
#F9F7F9
surface
#F1EDF2
border
#CBC8CC
text
#0D080E
muted
#7E7B7E

Preview Lab

Preview with #643F78

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

Preview Lab → · Contrast checker → · Palette generator →

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