#643BA8#643BA8

#643BA8 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.1% C 0.167 H 296.6°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#643BA8
RGBrgb(100, 59, 168)
HSLhsl(263, 48%, 45%)
HSVhsv(263, 65%, 66%)
CMYKcmyk(40.5%, 64.9%, 0%, 34.1%)
CIE-LABlab(35.33, 42.09, -52.29)
CIE-LCHlch(35.33, 67.12, 308.83°)
OKLaboklab(46.07% 0.0746 -0.1491)
OKLCHoklch(46.07% 0.167 296.6)
XYZxyz(13.8855, 8.6641, 37.9790)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643BA8 #7FA83B
analogous
#3B48A8 #643BA8 #9B3BA8
triadic
#643BA8 #A8643B #3BA864
tetradic
#643BA8 #A83B48 #7FA83B #3BA89B
square
#643BA8 #A83B48 #7FA83B #3BA89B
split-complementary
#643BA8 #A89B3B #48A83B
monochromatic
#2E1B4D #492B7B #643BA8 #835BC5 #A588D5

Accessibility & contrast

On white

7.68
#643BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #643BA8
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643BA8#FFFFFF#000000##FFFFFF
##643BA81.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#0052A6
Tritanopia (blue-blind)
#53546C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #643ba8;
/* rgb */ color: rgb(100, 59, 168);
/* oklch */ color: oklch(46.1% 0.167 296.6);
Tailwind
colors: {
  custom: {
    50: '#9573c3',
    500: '#643ba8',
    950: '#000000',
  },
}
SCSS
$custom: #643ba8;
$custom-light: #9573c3;
$custom-dark: #000000;
JSON
{
  "hex": "#643ba8",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 168
  },
  "hsl": {
    "h": 262.569,
    "s": 48.018,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4607,
    "c": 0.16669,
    "h": 296.6
  },
  "luminance": 0.08664
}

Semantic roles & 50–950 ramp

primary
#643BA8
secondary
#A7C07F
accent
#D850A5
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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