#643B86#643B86

#643B86 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 43.7% C 0.125 H 307.2°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#643B86
RGBrgb(100, 59, 134)
HSLhsl(273, 39%, 38%)
HSVhsv(273, 56%, 53%)
CMYKcmyk(25.4%, 56%, 0%, 47.5%)
CIE-LABlab(33.05, 33.15, -35.27)
CIE-LCHlch(33.05, 48.41, 313.22°)
OKLaboklab(43.67% 0.0754 -0.0991)
OKLCHoklch(43.67% 0.125 307.2)
XYZxyz(11.1217, 7.5586, 23.4227)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643B86 #5D863B
analogous
#3E3B86 #643B86 #863B82
triadic
#643B86 #86643B #3B8664
tetradic
#643B86 #863E3B #5D863B #3B8286
square
#643B86 #863E3B #5D863B #3B8286
split-complementary
#643B86 #82863B #3B863E
monochromatic
#251631 #44285C #643B86 #844EB0 #A178C4

Accessibility & contrast

On white

8.36
#643B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#643B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643B86
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643B86#FFFFFF#000000##FFFFFF
##643B861.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234C89
Deuteranopia (green-blind)
#304E84
Tritanopia (blue-blind)
#5F495A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #643b86;
/* rgb */ color: rgb(100, 59, 134);
/* oklch */ color: oklch(43.7% 0.125 307.2);
Tailwind
colors: {
  custom: {
    50: '#9272aa',
    500: '#643b86',
    950: '#000000',
  },
}
SCSS
$custom: #643b86;
$custom-light: #9272aa;
$custom-dark: #000000;
JSON
{
  "hex": "#643b86",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 134
  },
  "hsl": {
    "h": 272.8,
    "s": 38.86,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43674,
    "c": 0.12453,
    "h": 307.2
  },
  "luminance": 0.07558
}

Semantic roles & 50–950 ramp

primary
#643B86
secondary
#8CAD70
accent
#CF598E
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643B86

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

Preview Lab → · Contrast checker → · Palette generator →

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