#643DA8#643DA8

#643DA8 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.4% C 0.164 H 296.2°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#643DA8
RGBrgb(100, 61, 168)
HSLhsl(262, 47%, 45%)
HSVhsv(262, 64%, 66%)
CMYKcmyk(40.5%, 63.7%, 0%, 34.1%)
CIE-LABlab(35.74, 40.98, -51.62)
CIE-LCHlch(35.74, 65.91, 308.44°)
OKLaboklab(46.37% 0.0723 -0.1471)
OKLCHoklch(46.37% 0.164 296.2)
XYZxyz(13.9903, 8.8737, 38.0139)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643DA8 #81A83D
analogous
#3D4CA8 #643DA8 #993DA8
triadic
#643DA8 #A8643D #3DA864
tetradic
#643DA8 #A83D4C #81A83D #3DA899
square
#643DA8 #A83D4C #81A83D #3DA899
split-complementary
#643DA8 #A8993D #4CA83D
monochromatic
#2F1C4E #492D7B #643DA8 #835EC4 #A68BD5

Accessibility & contrast

On white

7.57
#643DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #643DA8
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643DA8#FFFFFF#000000##FFFFFF
##643DA81.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#0053A6
Tritanopia (blue-blind)
#53556D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #643da8;
/* rgb */ color: rgb(100, 61, 168);
/* oklch */ color: oklch(46.4% 0.164 296.2);
Tailwind
colors: {
  custom: {
    50: '#9575c3',
    500: '#643da8',
    950: '#000000',
  },
}
SCSS
$custom: #643da8;
$custom-light: #9575c3;
$custom-dark: #000000;
JSON
{
  "hex": "#643da8",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 168
  },
  "hsl": {
    "h": 261.869,
    "s": 46.725,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46367,
    "c": 0.16392,
    "h": 296.2
  },
  "luminance": 0.08874
}

Semantic roles & 50–950 ramp

primary
#643DA8
secondary
#A9BF81
accent
#D651A6
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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