#643A9F#643A9F

#643A9F is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.2% C 0.157 H 299.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#643A9F
RGBrgb(100, 58, 159)
HSLhsl(265, 47%, 43%)
HSVhsv(265, 64%, 62%)
CMYKcmyk(37.1%, 63.5%, 0%, 37.6%)
CIE-LABlab(34.47, 40.22, -48.26)
CIE-LCHlch(34.47, 62.82, 309.81°)
OKLaboklab(45.25% 0.0765 -0.1372)
OKLCHoklch(45.25% 0.157 299.1)
XYZxyz(13.0250, 8.2385, 33.6981)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643A9F #759F3A
analogous
#3A439F #643A9F #963A9F
triadic
#643A9F #9F643A #3A9F64
tetradic
#643A9F #9F3A43 #759F3A #3A9F96
square
#643A9F #9F3A43 #759F3A #3A9F96
split-complementary
#643A9F #9F963A #439F3A
monochromatic
#2C1945 #482A72 #643A9F #8255C1 #A382D1

Accessibility & contrast

On white

7.93
#643A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#643A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643A9F
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643A9F#FFFFFF#000000##FFFFFF
##643A9F1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#0D509D
Tritanopia (blue-blind)
#575067
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #643a9f;
/* rgb */ color: rgb(100, 58, 159);
/* oklch */ color: oklch(45.2% 0.157 299.1);
Tailwind
colors: {
  custom: {
    50: '#9472bc',
    500: '#643a9f',
    950: '#000000',
  },
}
SCSS
$custom: #643a9f;
$custom-light: #9472bc;
$custom-dark: #000000;
JSON
{
  "hex": "#643a9f",
  "rgb": {
    "r": 100,
    "g": 58,
    "b": 159
  },
  "hsl": {
    "h": 264.95,
    "s": 46.544,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45245,
    "c": 0.15712,
    "h": 299.1
  },
  "luminance": 0.08239
}

Semantic roles & 50–950 ramp

primary
#643A9F
secondary
#A0BB7A
accent
#D6529F
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #643A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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