#643EA4#643EA4

#643EA4 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.2% C 0.158 H 297.0°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#643EA4
RGBrgb(100, 62, 164)
HSLhsl(262, 45%, 44%)
HSVhsv(262, 62%, 64%)
CMYKcmyk(39%, 62.2%, 0%, 35.7%)
CIE-LABlab(35.66, 39.32, -49.35)
CIE-LCHlch(35.66, 63.10, 308.55°)
OKLaboklab(46.22% 0.0714 -0.1404)
OKLCHoklch(46.22% 0.158 297)
XYZxyz(13.6773, 8.8347, 36.0994)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643EA4 #7EA43E
analogous
#3E4BA4 #643EA4 #973EA4
triadic
#643EA4 #A4643E #3EA464
tetradic
#643EA4 #A43E4B #7EA43E #3EA497
square
#643EA4 #A43E4B #7EA43E #3EA497
split-complementary
#643EA4 #A4973E #4BA43E
monochromatic
#2E1C4B #492D78 #643EA4 #835DC2 #A58AD3

Accessibility & contrast

On white

7.59
#643EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #643EA4
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643EA4#FFFFFF#000000##FFFFFF
##643EA41.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#0C53A2
Tritanopia (blue-blind)
#55546B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #643ea4;
/* rgb */ color: rgb(100, 62, 164);
/* oklch */ color: oklch(46.2% 0.158 297.0);
Tailwind
colors: {
  custom: {
    50: '#9575c0',
    500: '#643ea4',
    950: '#000000',
  },
}
SCSS
$custom: #643ea4;
$custom-light: #9575c0;
$custom-dark: #000000;
JSON
{
  "hex": "#643ea4",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 262.353,
    "s": 45.133,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46221,
    "c": 0.15754,
    "h": 297
  },
  "luminance": 0.08835
}

Semantic roles & 50–950 ramp

primary
#643EA4
secondary
#A7BD81
accent
#D553A4
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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