#643DB6#643DB6

#643DB6 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.5% C 0.181 H 293.0°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#643DB6
RGBrgb(100, 61, 182)
HSLhsl(259, 50%, 48%)
HSVhsv(259, 66%, 71%)
CMYKcmyk(45.1%, 66.5%, 0%, 28.6%)
CIE-LABlab(36.79, 44.85, -58.24)
CIE-LCHlch(36.79, 73.51, 307.59°)
OKLaboklab(47.45% 0.0708 -0.1666)
OKLCHoklch(47.45% 0.181 293)
XYZxyz(15.3655, 9.4237, 45.2563)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643DB6 #8FB63D
analogous
#3D52B6 #643DB6 #A03DB6
triadic
#643DB6 #B6643D #3DB664
tetradic
#643DB6 #B63D52 #8FB63D #3DB6A0
square
#643DB6 #B63D52 #8FB63D #3DB6A0
split-complementary
#643DB6 #B6A03D #52B63D
monochromatic
#321E5A #4B2E88 #643DB6 #8665CB #AA93DB

Accessibility & contrast

On white

7.28
#643DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#643DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643DB6
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643DB6#FFFFFF#000000##FFFFFF
##643DB61.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#4C5A74
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #643db6;
/* rgb */ color: rgb(100, 61, 182);
/* oklch */ color: oklch(47.5% 0.181 293.0);
Tailwind
colors: {
  custom: {
    50: '#9775cd',
    500: '#643db6',
    950: '#000000',
  },
}
SCSS
$custom: #643db6;
$custom-light: #9775cd;
$custom-dark: #000000;
JSON
{
  "hex": "#643db6",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 182
  },
  "hsl": {
    "h": 259.339,
    "s": 49.794,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47454,
    "c": 0.18102,
    "h": 293
  },
  "luminance": 0.09424
}

Semantic roles & 50–950 ramp

primary
#643DB6
secondary
#B2C689
accent
#D94EAD
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #643DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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