#643DA5#643DA5

#643DA5 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.1% C 0.160 H 296.9°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#643DA5
RGBrgb(100, 61, 165)
HSLhsl(263, 46%, 44%)
HSVhsv(263, 63%, 65%)
CMYKcmyk(39.4%, 63%, 0%, 35.3%)
CIE-LABlab(35.52, 40.16, -50.17)
CIE-LCHlch(35.52, 64.27, 308.68°)
OKLaboklab(46.14% 0.0725 -0.1428)
OKLCHoklch(46.14% 0.16 296.9)
XYZxyz(13.7141, 8.7632, 36.5589)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643DA5 #7EA53D
analogous
#3D4AA5 #643DA5 #983DA5
triadic
#643DA5 #A5643D #3DA564
tetradic
#643DA5 #A53D4A #7EA53D #3DA598
square
#643DA5 #A53D4A #7EA53D #3DA598
split-complementary
#643DA5 #A5983D #4AA53D
monochromatic
#2E1C4C #492C78 #643DA5 #835CC3 #A589D3

Accessibility & contrast

On white

7.63
#643DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#643DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643DA5
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643DA5#FFFFFF#000000##FFFFFF
##643DA51.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#0452A3
Tritanopia (blue-blind)
#54546B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #643da5;
/* rgb */ color: rgb(100, 61, 165);
/* oklch */ color: oklch(46.1% 0.160 296.9);
Tailwind
colors: {
  custom: {
    50: '#9574c0',
    500: '#643da5',
    950: '#000000',
  },
}
SCSS
$custom: #643da5;
$custom-light: #9574c0;
$custom-dark: #000000;
JSON
{
  "hex": "#643da5",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 165
  },
  "hsl": {
    "h": 262.5,
    "s": 46.018,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46142,
    "c": 0.16021,
    "h": 296.9
  },
  "luminance": 0.08763
}

Semantic roles & 50–950 ramp

primary
#643DA5
secondary
#A7BE80
accent
#D652A4
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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