#643DA1#643DA1

#643DA1 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.8% C 0.155 H 298.0°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#643DA1
RGBrgb(100, 61, 161)
HSLhsl(263, 45%, 44%)
HSVhsv(263, 62%, 63%)
CMYKcmyk(37.9%, 62.1%, 0%, 36.9%)
CIE-LABlab(35.24, 39.07, -48.23)
CIE-LCHlch(35.24, 62.07, 309.02°)
OKLaboklab(45.85% 0.0728 -0.1371)
OKLCHoklch(45.85% 0.155 298)
XYZxyz(13.3557, 8.6198, 34.6714)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643DA1 #7AA13D
analogous
#3D48A1 #643DA1 #963DA1
triadic
#643DA1 #A1643D #3DA164
tetradic
#643DA1 #A13D48 #7AA13D #3DA196
square
#643DA1 #A13D48 #7AA13D #3DA196
split-complementary
#643DA1 #A1963D #48A13D
monochromatic
#2D1B48 #482C75 #643DA1 #825BC1 #A487D1

Accessibility & contrast

On white

7.71
#643DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#643DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643DA1
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643DA1#FFFFFF#000000##FFFFFF
##643DA11.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#11529F
Tritanopia (blue-blind)
#565369
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #643da1;
/* rgb */ color: rgb(100, 61, 161);
/* oklch */ color: oklch(45.8% 0.155 298.0);
Tailwind
colors: {
  custom: {
    50: '#9474bd',
    500: '#643da1',
    950: '#000000',
  },
}
SCSS
$custom: #643da1;
$custom-light: #9474bd;
$custom-dark: #000000;
JSON
{
  "hex": "#643da1",
  "rgb": {
    "r": 100,
    "g": 61,
    "b": 161
  },
  "hsl": {
    "h": 263.4,
    "s": 45.045,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45847,
    "c": 0.15525,
    "h": 298
  },
  "luminance": 0.0862
}

Semantic roles & 50–950 ramp

primary
#643DA1
secondary
#A4BC7E
accent
#D553A2
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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