#643CB3#643CB3

#643CB3 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.1% C 0.179 H 293.9°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#643CB3
RGBrgb(100, 60, 179)
HSLhsl(260, 50%, 47%)
HSVhsv(260, 66%, 70%)
CMYKcmyk(44.1%, 66.5%, 0%, 29.8%)
CIE-LABlab(36.36, 44.56, -57.17)
CIE-LCHlch(36.36, 72.48, 307.93°)
OKLaboklab(47.07% 0.0723 -0.1634)
OKLCHoklch(47.07% 0.179 293.9)
XYZxyz(15.0059, 9.1953, 43.6233)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643CB3 #8BB33C
analogous
#3C50B3 #643CB3 #A03CB3
triadic
#643CB3 #B3643C #3CB364
tetradic
#643CB3 #B33C50 #8BB33C #3CB3A0
square
#643CB3 #B33C50 #8BB33C #3CB3A0
split-complementary
#643CB3 #B3A03C #50B33C
monochromatic
#311D57 #4A2D85 #643CB3 #8562CA #A990DA

Accessibility & contrast

On white

7.40
#643CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#643CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643CB3
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643CB3#FFFFFF#000000##FFFFFF
##643CB31.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#4E5872
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #643cb3;
/* rgb */ color: rgb(100, 60, 179);
/* oklch */ color: oklch(47.1% 0.179 293.9);
Tailwind
colors: {
  custom: {
    50: '#9674cb',
    500: '#643cb3',
    950: '#000000',
  },
}
SCSS
$custom: #643cb3;
$custom-light: #9674cb;
$custom-dark: #000000;
JSON
{
  "hex": "#643cb3",
  "rgb": {
    "r": 100,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 260.168,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47072,
    "c": 0.17869,
    "h": 293.9
  },
  "luminance": 0.09196
}

Semantic roles & 50–950 ramp

primary
#643CB3
secondary
#B0C586
accent
#D94EAB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #643CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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