#643F7E#643F7E

#643F7E is a dark, moderate violet. Relative luminance 0.078; OKLCH L 43.9% C 0.107 H 309.7°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#643F7E
RGBrgb(100, 63, 126)
HSLhsl(275, 33%, 37%)
HSVhsv(275, 50%, 49%)
CMYKcmyk(20.6%, 50%, 0%, 50.6%)
CIE-LABlab(33.50, 28.80, -29.59)
CIE-LCHlch(33.50, 41.29, 314.22°)
OKLaboklab(43.86% 0.0687 -0.0826)
OKLCHoklch(43.86% 0.107 309.7)
XYZxyz(10.7982, 7.7709, 20.6657)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643F7E #597E3F
analogous
#453F7E #643F7E #7E3F79
triadic
#643F7E #7E643F #3F7E64
tetradic
#643F7E #7E453F #597E3F #3F797E
square
#643F7E #7E453F #597E3F #3F797E
split-complementary
#643F7E #797E3F #3F7E45
monochromatic
#23162C #442B55 #643F7E #8453A7 #A17BBD

Accessibility & contrast

On white

8.22
#643F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#643F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643F7E
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643F7E#FFFFFF#000000##FFFFFF
##643F7E1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D80
Deuteranopia (green-blind)
#3A4F7C
Tritanopia (blue-blind)
#614958
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #643f7e;
/* rgb */ color: rgb(100, 63, 126);
/* oklch */ color: oklch(43.9% 0.107 309.7);
Tailwind
colors: {
  custom: {
    50: '#9275a3',
    500: '#643f7e',
    950: '#000000',
  },
}
SCSS
$custom: #643f7e;
$custom-light: #9275a3;
$custom-dark: #000000;
JSON
{
  "hex": "#643f7e",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 126
  },
  "hsl": {
    "h": 275.238,
    "s": 33.333,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43862,
    "c": 0.10741,
    "h": 309.7
  },
  "luminance": 0.07771
}

Semantic roles & 50–950 ramp

primary
#643F7E
secondary
#88A772
accent
#C95E8B
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #643F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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