#643486#643486

#643486 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.6% C 0.136 H 308.7°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#643486
RGBrgb(100, 52, 134)
HSLhsl(275, 44%, 36%)
HSVhsv(275, 61%, 53%)
CMYKcmyk(25.4%, 61.2%, 0%, 47.5%)
CIE-LABlab(31.55, 37.12, -37.67)
CIE-LCHlch(31.55, 52.89, 314.58°)
OKLaboklab(42.58% 0.0851 -0.1061)
OKLCHoklch(42.58% 0.136 308.7)
XYZxyz(10.7857, 6.8867, 23.3107)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643486 #568634
analogous
#3B3486 #643486 #86347F
triadic
#643486 #866434 #348664
tetradic
#643486 #863B34 #568634 #347F86
square
#643486 #863B34 #568634 #347F86
split-complementary
#643486 #7F8634 #34863B
monochromatic
#22122E #43235A #643486 #8545B2 #A26EC7

Accessibility & contrast

On white

8.83
#643486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#643486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643486
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643486#FFFFFF#000000##FFFFFF
##6434861.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134889
Deuteranopia (green-blind)
#294B84
Tritanopia (blue-blind)
#5F4458
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #643486;
/* rgb */ color: rgb(100, 52, 134);
/* oklch */ color: oklch(42.6% 0.136 308.7);
Tailwind
colors: {
  custom: {
    50: '#936eaa',
    500: '#643486',
    950: '#000000',
  },
}
SCSS
$custom: #643486;
$custom-light: #936eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#643486",
  "rgb": {
    "r": 100,
    "g": 52,
    "b": 134
  },
  "hsl": {
    "h": 275.122,
    "s": 44.086,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42576,
    "c": 0.13601,
    "h": 308.7
  },
  "luminance": 0.06887
}

Semantic roles & 50–950 ramp

primary
#643486
secondary
#85AF67
accent
#D45489
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #643486

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

Preview Lab → · Contrast checker → · Palette generator →

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