#643A86#643A86

#643A86 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 43.5% C 0.126 H 307.5°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#643A86
RGBrgb(100, 58, 134)
HSLhsl(273, 40%, 38%)
HSVhsv(273, 57%, 53%)
CMYKcmyk(25.4%, 56.7%, 0%, 47.5%)
CIE-LABlab(32.83, 33.73, -35.63)
CIE-LCHlch(32.83, 49.06, 313.43°)
OKLaboklab(43.51% 0.0768 -0.1001)
OKLCHoklch(43.51% 0.126 307.5)
XYZxyz(11.0708, 7.4568, 23.4057)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643A86 #5C863A
analogous
#3E3A86 #643A86 #863A82
triadic
#643A86 #86643A #3A8664
tetradic
#643A86 #863E3A #5C863A #3A8286
square
#643A86 #863E3A #5C863A #3A8286
split-complementary
#643A86 #82863A #3A863E
monochromatic
#241531 #44285B #643A86 #844CB1 #A176C4

Accessibility & contrast

On white

8.43
#643A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#643A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643A86
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643A86#FFFFFF#000000##FFFFFF
##643A861.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214C89
Deuteranopia (green-blind)
#2F4E84
Tritanopia (blue-blind)
#5F485A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #643a86;
/* rgb */ color: rgb(100, 58, 134);
/* oklch */ color: oklch(43.5% 0.126 307.5);
Tailwind
colors: {
  custom: {
    50: '#9272aa',
    500: '#643a86',
    950: '#000000',
  },
}
SCSS
$custom: #643a86;
$custom-light: #9272aa;
$custom-dark: #000000;
JSON
{
  "hex": "#643a86",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 134
  },
  "hsl": {
    "h": 273.158,
    "s": 39.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43511,
    "c": 0.1262,
    "h": 307.5
  },
  "luminance": 0.07457
}

Semantic roles & 50–950 ramp

primary
#643A86
secondary
#8BAD6F
accent
#CF588E
background
#F9F7FA
surface
#F1EDF4
border
#CBC8CE
text
#0D0810
muted
#7E7B7F

Preview Lab

Preview with #643A86

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

Preview Lab → · Contrast checker → · Palette generator →

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