#643CA5#643CA5

#643CA5 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.0% C 0.162 H 297.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#643CA5
RGBrgb(100, 60, 165)
HSLhsl(263, 47%, 44%)
HSVhsv(263, 64%, 65%)
CMYKcmyk(39.4%, 63.6%, 0%, 35.3%)
CIE-LABlab(35.32, 40.72, -50.51)
CIE-LCHlch(35.32, 64.88, 308.88°)
OKLaboklab(45.99% 0.0737 -0.1438)
OKLCHoklch(45.99% 0.162 297.1)
XYZxyz(13.6612, 8.6574, 36.5413)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643CA5 #7DA53C
analogous
#3C49A5 #643CA5 #993CA5
triadic
#643CA5 #A5643C #3CA564
tetradic
#643CA5 #A53C49 #7DA53C #3CA599
square
#643CA5 #A53C49 #7DA53C #3CA599
split-complementary
#643CA5 #A5993C #49A53C
monochromatic
#2E1B4B #492C78 #643CA5 #835BC3 #A588D4

Accessibility & contrast

On white

7.69
#643CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#643CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643CA5
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643CA5#FFFFFF#000000##FFFFFF
##643CA51.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#0052A3
Tritanopia (blue-blind)
#54546B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #643ca5;
/* rgb */ color: rgb(100, 60, 165);
/* oklch */ color: oklch(46.0% 0.162 297.1);
Tailwind
colors: {
  custom: {
    50: '#9574c0',
    500: '#643ca5',
    950: '#000000',
  },
}
SCSS
$custom: #643ca5;
$custom-light: #9574c0;
$custom-dark: #000000;
JSON
{
  "hex": "#643ca5",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 262.857,
    "s": 46.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45991,
    "c": 0.16163,
    "h": 297.1
  },
  "luminance": 0.08658
}

Semantic roles & 50–950 ramp

primary
#643CA5
secondary
#A6BE7F
accent
#D651A4
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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