#643CA1#643CA1

#643CA1 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.7% C 0.157 H 298.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#643CA1
RGBrgb(100, 60, 161)
HSLhsl(264, 46%, 43%)
HSVhsv(264, 63%, 63%)
CMYKcmyk(37.9%, 62.7%, 0%, 36.9%)
CIE-LABlab(35.03, 39.64, -48.57)
CIE-LCHlch(35.03, 62.69, 309.22°)
OKLaboklab(45.69% 0.074 -0.1381)
OKLCHoklch(45.69% 0.157 298.2)
XYZxyz(13.3028, 8.5141, 34.6538)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643CA1 #79A13C
analogous
#3C47A1 #643CA1 #963CA1
triadic
#643CA1 #A1643C #3CA164
tetradic
#643CA1 #A13C47 #79A13C #3CA196
square
#643CA1 #A13C47 #79A13C #3CA196
split-complementary
#643CA1 #A1963C #47A13C
monochromatic
#2D1B48 #482B74 #643CA1 #8259C1 #A486D2

Accessibility & contrast

On white

7.77
#643CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#643CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643CA1
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643CA1#FFFFFF#000000##FFFFFF
##643CA11.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#0E519F
Tritanopia (blue-blind)
#565269
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #643ca1;
/* rgb */ color: rgb(100, 60, 161);
/* oklch */ color: oklch(45.7% 0.157 298.2);
Tailwind
colors: {
  custom: {
    50: '#9574bd',
    500: '#643ca1',
    950: '#000000',
  },
}
SCSS
$custom: #643ca1;
$custom-light: #9574bd;
$custom-dark: #000000;
JSON
{
  "hex": "#643ca1",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 161
  },
  "hsl": {
    "h": 263.762,
    "s": 45.701,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45694,
    "c": 0.1567,
    "h": 298.2
  },
  "luminance": 0.08514
}

Semantic roles & 50–950 ramp

primary
#643CA1
secondary
#A3BC7D
accent
#D552A2
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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