#643EB1#643EB1

#643EB1 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.2% C 0.174 H 293.9°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#643EB1
RGBrgb(100, 62, 177)
HSLhsl(260, 48%, 47%)
HSVhsv(260, 65%, 69%)
CMYKcmyk(43.5%, 65%, 0%, 30.6%)
CIE-LABlab(36.61, 42.91, -55.57)
CIE-LCHlch(36.61, 70.21, 307.67°)
OKLaboklab(47.21% 0.0704 -0.1587)
OKLCHoklch(47.21% 0.174 293.9)
XYZxyz(14.9118, 9.3285, 42.6014)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643EB1 #8BB13E
analogous
#3E52B1 #643EB1 #9E3EB1
triadic
#643EB1 #B1643E #3EB164
tetradic
#643EB1 #B13E52 #8BB13E #3EB19E
square
#643EB1 #B13E52 #8BB13E #3EB19E
split-complementary
#643EB1 #B19E3E #52B13E
monochromatic
#311E56 #4A2E84 #643EB1 #8564C9 #A991D8

Accessibility & contrast

On white

7.33
#643EB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#643EB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643EB1
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643EB1#FFFFFF#000000##FFFFFF
##643EB11.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B5
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#4F5972
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #643eb1;
/* rgb */ color: rgb(100, 62, 177);
/* oklch */ color: oklch(47.2% 0.174 293.9);
Tailwind
colors: {
  custom: {
    50: '#9675c9',
    500: '#643eb1',
    950: '#000000',
  },
}
SCSS
$custom: #643eb1;
$custom-light: #9675c9;
$custom-dark: #000000;
JSON
{
  "hex": "#643eb1",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 177
  },
  "hsl": {
    "h": 259.826,
    "s": 48.117,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47206,
    "c": 0.17363,
    "h": 293.9
  },
  "luminance": 0.09329
}

Semantic roles & 50–950 ramp

primary
#643EB1
secondary
#B0C487
accent
#D850AB
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #643EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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