#643E91#643E91

#643E91 is a dark, vivid violet. Relative luminance 0.082; OKLCH L 44.9% C 0.134 H 302.5°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#643E91
RGBrgb(100, 62, 145)
HSLhsl(267, 40%, 41%)
HSVhsv(267, 57%, 57%)
CMYKcmyk(31%, 57.2%, 0%, 43.1%)
CIE-LABlab(34.39, 34.23, -39.88)
CIE-LCHlch(34.39, 52.56, 310.64°)
OKLaboklab(44.89% 0.0717 -0.1126)
OKLCHoklch(44.89% 0.134 302.5)
XYZxyz(12.0878, 8.1989, 27.7283)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643E91 #6B913E
analogous
#3E4191 #643E91 #8D3E91
triadic
#643E91 #91643E #3E9164
tetradic
#643E91 #913E41 #6B913E #3E918D
square
#643E91 #913E41 #6B913E #3E918D
split-complementary
#643E91 #918D3E #41913E
monochromatic
#29193B #462C66 #643E91 #8256B7 #A280C9

Accessibility & contrast

On white

7.96
#643E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#643E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643E91
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643E91#FFFFFF#000000##FFFFFF
##643E911.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5094
Deuteranopia (green-blind)
#2B518F
Tritanopia (blue-blind)
#5B4E61
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #643e91;
/* rgb */ color: rgb(100, 62, 145);
/* oklch */ color: oklch(44.9% 0.134 302.5);
Tailwind
colors: {
  custom: {
    50: '#9375b2',
    500: '#643e91',
    950: '#000000',
  },
}
SCSS
$custom: #643e91;
$custom-light: #9375b2;
$custom-dark: #000000;
JSON
{
  "hex": "#643e91",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 145
  },
  "hsl": {
    "h": 267.47,
    "s": 40.097,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44885,
    "c": 0.13352,
    "h": 302.5
  },
  "luminance": 0.08199
}

Semantic roles & 50–950 ramp

primary
#643E91
secondary
#98B378
accent
#D05899
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643E91

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

Preview Lab → · Contrast checker → · Palette generator →

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