#643CA4#643CA4

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

Color values

HEX#643CA4
RGBrgb(100, 60, 164)
HSLhsl(263, 46%, 44%)
HSVhsv(263, 63%, 64%)
CMYKcmyk(39%, 63.4%, 0%, 35.7%)
CIE-LABlab(35.24, 40.45, -50.03)
CIE-LCHlch(35.24, 64.33, 308.96°)
OKLaboklab(45.92% 0.0738 -0.1424)
OKLCHoklch(45.92% 0.16 297.4)
XYZxyz(13.5705, 8.6212, 36.0638)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643CA4 #7CA43C
analogous
#3C48A4 #643CA4 #983CA4
triadic
#643CA4 #A4643C #3CA464
tetradic
#643CA4 #A43C48 #7CA43C #3CA498
square
#643CA4 #A43C48 #7CA43C #3CA498
split-complementary
#643CA4 #A4983C #48A43C
monochromatic
#2D1B4A #492C77 #643CA4 #835AC3 #A487D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##643CA4#FFFFFF#000000##FFFFFF
##643CA41.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)
#0053A7
Deuteranopia (green-blind)
#0452A2
Tritanopia (blue-blind)
#55536A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #643ca4;
/* rgb */ color: rgb(100, 60, 164);
/* oklch */ color: oklch(45.9% 0.160 297.4);
Tailwind
colors: {
  custom: {
    50: '#9574c0',
    500: '#643ca4',
    950: '#000000',
  },
}
SCSS
$custom: #643ca4;
$custom-light: #9574c0;
$custom-dark: #000000;
JSON
{
  "hex": "#643ca4",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 263.077,
    "s": 46.429,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45916,
    "c": 0.1604,
    "h": 297.4
  },
  "luminance": 0.08621
}

Semantic roles & 50–950 ramp

primary
#643CA4
secondary
#A5BD7E
accent
#D652A3
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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