#643786#643786

#643786 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.0% C 0.131 H 308.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#643786
RGBrgb(100, 55, 134)
HSLhsl(274, 42%, 37%)
HSVhsv(274, 59%, 53%)
CMYKcmyk(25.4%, 59%, 0%, 47.5%)
CIE-LABlab(32.18, 35.45, -36.66)
CIE-LCHlch(32.18, 51.00, 314.03°)
OKLaboklab(43.03% 0.081 -0.1032)
OKLCHoklch(43.03% 0.131 308.1)
XYZxyz(10.9239, 7.1631, 23.3568)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643786 #598637
analogous
#3C3786 #643786 #863781
triadic
#643786 #866437 #378664
tetradic
#643786 #863C37 #598637 #378186
square
#643786 #863C37 #598637 #378186
split-complementary
#643786 #818637 #37863C
monochromatic
#23132F #44255B #643786 #8449B1 #A172C5

Accessibility & contrast

On white

8.63
#643786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#643786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643786
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643786#FFFFFF#000000##FFFFFF
##6437861.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4A89
Deuteranopia (green-blind)
#2C4C84
Tritanopia (blue-blind)
#5F4659
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #643786;
/* rgb */ color: rgb(100, 55, 134);
/* oklch */ color: oklch(43.0% 0.131 308.1);
Tailwind
colors: {
  custom: {
    50: '#9370aa',
    500: '#643786',
    950: '#000000',
  },
}
SCSS
$custom: #643786;
$custom-light: #9370aa;
$custom-dark: #000000;
JSON
{
  "hex": "#643786",
  "rgb": {
    "r": 100,
    "g": 55,
    "b": 134
  },
  "hsl": {
    "h": 274.177,
    "s": 41.799,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43034,
    "c": 0.13117,
    "h": 308.1
  },
  "luminance": 0.07163
}

Semantic roles & 50–950 ramp

primary
#643786
secondary
#88AE6B
accent
#D2568B
background
#F9F6FA
surface
#F1ECF4
border
#CBC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #643786

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

Preview Lab → · Contrast checker → · Palette generator →

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