#643BBB#643BBB

#643BBB is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.6% C 0.190 H 292.4°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#643BBB
RGBrgb(100, 59, 187)
HSLhsl(259, 52%, 48%)
HSVhsv(259, 68%, 73%)
CMYKcmyk(46.5%, 68.4%, 0%, 26.7%)
CIE-LABlab(36.79, 47.30, -61.19)
CIE-LCHlch(36.79, 77.34, 307.71°)
OKLaboklab(47.58% 0.0721 -0.1752)
OKLCHoklch(47.58% 0.19 292.4)
XYZxyz(15.7866, 9.4246, 47.9914)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643BBB #92BB3B
analogous
#3B52BB #643BBB #A43BBB
triadic
#643BBB #BB643B #3BBB64
tetradic
#643BBB #BB3B52 #92BB3B #3BBBA4
square
#643BBB #BB3B52 #92BB3B #3BBBA4
split-complementary
#643BBB #BBA43B #52BB3B
monochromatic
#321E5E #4B2C8C #643BBB #8765CE #AB93DD

Accessibility & contrast

On white

7.28
#643BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#643BBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643BBB
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643BBB#FFFFFF#000000##FFFFFF
##643BBB1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#4A5B76
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #643bbb;
/* rgb */ color: rgb(100, 59, 187);
/* oklch */ color: oklch(47.6% 0.190 292.4);
Tailwind
colors: {
  custom: {
    50: '#9874d0',
    500: '#643bbb',
    950: '#000000',
  },
}
SCSS
$custom: #643bbb;
$custom-light: #9874d0;
$custom-dark: #000000;
JSON
{
  "hex": "#643bbb",
  "rgb": {
    "r": 100,
    "g": 59,
    "b": 187
  },
  "hsl": {
    "h": 259.219,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47578,
    "c": 0.18951,
    "h": 292.4
  },
  "luminance": 0.09425
}

Semantic roles & 50–950 ramp

primary
#643BBB
secondary
#B4C88A
accent
#DB4CAE
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #643BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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