#643162#643162

#643162 is a dark, moderate purple. Relative luminance 0.058; OKLCH L 39.9% C 0.101 H 328.7°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#643162
RGBrgb(100, 49, 98)
HSLhsl(302, 34%, 29%)
HSVhsv(302, 51%, 39%)
CMYKcmyk(0%, 51%, 2%, 60.8%)
CIE-LABlab(28.87, 30.69, -19.10)
CIE-LCHlch(28.87, 36.15, 328.10°)
OKLaboklab(39.95% 0.086 -0.0522)
OKLCHoklch(39.95% 0.101 328.7)
XYZxyz(8.5583, 5.7883, 12.2194)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643162 #316433
analogous
#4D3164 #643162 #643149
triadic
#643162 #626431 #316264
tetradic
#643162 #644D31 #316433 #314964
square
#643162 #644D31 #316433 #314964
split-complementary
#643162 #496431 #31644D
monochromatic
#150A14 #3B1D3A #643162 #8D458A #B15FAD

Accessibility & contrast

On white

9.73
#643162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#643162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643162
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643162#FFFFFF#000000##FFFFFF
##6431621.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4064
Deuteranopia (green-blind)
#3C4760
Tritanopia (blue-blind)
#673645
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #643162;
/* rgb */ color: rgb(100, 49, 98);
/* oklch */ color: oklch(39.9% 0.101 328.7);
Tailwind
colors: {
  custom: {
    50: '#926b8f',
    500: '#643162',
    950: '#000000',
  },
}
SCSS
$custom: #643162;
$custom-light: #926b8f;
$custom-dark: #000000;
JSON
{
  "hex": "#643162",
  "rgb": {
    "r": 100,
    "g": 49,
    "b": 98
  },
  "hsl": {
    "h": 302.353,
    "s": 34.228,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39945,
    "c": 0.10062,
    "h": 328.7
  },
  "luminance": 0.05788
}

Semantic roles & 50–950 ramp

primary
#643162
secondary
#5C955E
accent
#CA625D
background
#F9F6F8
surface
#F1EBF0
border
#CBC6CB
text
#0D070C
muted
#7E7A7D

Preview Lab

Preview with #643162

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

Preview Lab → · Contrast checker → · Palette generator →

#643162 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva