#643EA5#643EA5

#643EA5 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.3% C 0.159 H 296.7°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#643EA5
RGBrgb(100, 62, 165)
HSLhsl(262, 45%, 45%)
HSVhsv(262, 62%, 65%)
CMYKcmyk(39.4%, 62.4%, 0%, 35.3%)
CIE-LABlab(35.73, 39.60, -49.83)
CIE-LCHlch(35.73, 63.65, 308.47°)
OKLaboklab(46.29% 0.0714 -0.1419)
OKLCHoklch(46.29% 0.159 296.7)
XYZxyz(13.7679, 8.8709, 36.5769)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643EA5 #7FA53E
analogous
#3E4CA5 #643EA5 #983EA5
triadic
#643EA5 #A5643E #3EA564
tetradic
#643EA5 #A53E4C #7FA53E #3EA598
square
#643EA5 #A53E4C #7FA53E #3EA598
split-complementary
#643EA5 #A5983E #4CA53E
monochromatic
#2E1D4C #492D79 #643EA5 #835EC2 #A58AD3

Accessibility & contrast

On white

7.57
#643EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#643EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643EA5
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643EA5#FFFFFF#000000##FFFFFF
##643EA51.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#0853A3
Tritanopia (blue-blind)
#54556B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #643ea5;
/* rgb */ color: rgb(100, 62, 165);
/* oklch */ color: oklch(46.3% 0.159 296.7);
Tailwind
colors: {
  custom: {
    50: '#9575c0',
    500: '#643ea5',
    950: '#000000',
  },
}
SCSS
$custom: #643ea5;
$custom-light: #9575c0;
$custom-dark: #000000;
JSON
{
  "hex": "#643ea5",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 165
  },
  "hsl": {
    "h": 262.136,
    "s": 45.374,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46295,
    "c": 0.15879,
    "h": 296.7
  },
  "luminance": 0.08871
}

Semantic roles & 50–950 ramp

primary
#643EA5
secondary
#A7BE81
accent
#D553A5
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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