#643DB1#643DB1

#643DB1 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.1% C 0.175 H 294.1°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#643DB1
RGBrgb(100, 61, 177)
HSLhsl(260, 49%, 47%)
HSVhsv(260, 66%, 69%)
CMYKcmyk(43.5%, 65.5%, 0%, 30.6%)
CIE-LABlab(36.41, 43.46, -55.90)
CIE-LCHlch(36.41, 70.81, 307.86°)
OKLaboklab(47.06% 0.0714 -0.1597)
OKLCHoklch(47.06% 0.175 294.1)
XYZxyz(14.8579, 9.2207, 42.5834)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643DB1 #8AB13D
analogous
#3D50B1 #643DB1 #9E3DB1
triadic
#643DB1 #B1643D #3DB164
tetradic
#643DB1 #B13D50 #8AB13D #3DB19E
square
#643DB1 #B13D50 #8AB13D #3DB19E
split-complementary
#643DB1 #B19E3D #50B13D
monochromatic
#311E56 #4A2D83 #643DB1 #8562C9 #A890D9

Accessibility & contrast

On white

7.38
#643DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#643DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643DB1
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643DB1#FFFFFF#000000##FFFFFF
##643DB11.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #643db1;
/* rgb */ color: rgb(100, 61, 177);
/* oklch */ color: oklch(47.1% 0.175 294.1);
Tailwind
colors: {
  custom: {
    50: '#9675c9',
    500: '#643db1',
    950: '#000000',
  },
}
SCSS
$custom: #643db1;
$custom-light: #9675c9;
$custom-dark: #000000;
JSON
{
  "hex": "#643db1",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 177
  },
  "hsl": {
    "h": 260.172,
    "s": 48.739,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47059,
    "c": 0.17496,
    "h": 294.1
  },
  "luminance": 0.09221
}

Semantic roles & 50–950 ramp

primary
#643DB1
secondary
#AFC486
accent
#D850AA
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #643DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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