#643D8D#643D8D

#643D8D is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.5% C 0.130 H 304.1°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#643D8D
RGBrgb(100, 61, 141)
HSLhsl(269, 40%, 40%)
HSVhsv(269, 57%, 55%)
CMYKcmyk(29.1%, 56.7%, 0%, 44.7%)
CIE-LABlab(33.92, 33.77, -38.19)
CIE-LCHlch(33.92, 50.98, 311.48°)
OKLaboklab(44.46% 0.0729 -0.1077)
OKLCHoklch(44.46% 0.13 304.1)
XYZxyz(11.7309, 7.9699, 26.1145)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643D8D #668D3D
analogous
#3D3E8D #643D8D #8C3D8D
triadic
#643D8D #8D643D #3D8D64
tetradic
#643D8D #8D3D3E #668D3D #3D8D8C
square
#643D8D #8D3D3E #668D3D #3D8D8C
split-complementary
#643D8D #8D8C3D #3E8D3D
monochromatic
#271838 #462B62 #643D8D #8253B4 #A17DC7

Accessibility & contrast

On white

8.10
#643D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#643D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643D8D
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643D8D#FFFFFF#000000##FFFFFF
##643D8D1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4F90
Deuteranopia (green-blind)
#2D508B
Tritanopia (blue-blind)
#5D4C5F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #643d8d;
/* rgb */ color: rgb(100, 61, 141);
/* oklch */ color: oklch(44.5% 0.130 304.1);
Tailwind
colors: {
  custom: {
    50: '#9374af',
    500: '#643d8d',
    950: '#000000',
  },
}
SCSS
$custom: #643d8d;
$custom-light: #9374af;
$custom-dark: #000000;
JSON
{
  "hex": "#643d8d",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 141
  },
  "hsl": {
    "h": 269.25,
    "s": 39.604,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44456,
    "c": 0.13004,
    "h": 304.1
  },
  "luminance": 0.0797
}

Semantic roles & 50–950 ramp

primary
#643D8D
secondary
#94B175
accent
#CF5895
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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