#643E9B#643E9B

#643E9B is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.6% C 0.146 H 299.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#643E9B
RGBrgb(100, 62, 155)
HSLhsl(265, 43%, 43%)
HSVhsv(265, 60%, 61%)
CMYKcmyk(35.5%, 60%, 0%, 39.2%)
CIE-LABlab(35.05, 36.88, -44.92)
CIE-LCHlch(35.05, 58.12, 309.39°)
OKLaboklab(45.57% 0.0717 -0.1274)
OKLCHoklch(45.57% 0.146 299.4)
XYZxyz(12.8931, 8.5210, 31.9694)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643E9B #759B3E
analogous
#3E479B #643E9B #923E9B
triadic
#643E9B #9B643E #3E9B64
tetradic
#643E9B #9B3E47 #759B3E #3E9B92
square
#643E9B #9B3E47 #759B3E #3E9B92
split-complementary
#643E9B #9B923E #479B3E
monochromatic
#2C1B44 #482D6F #643E9B #8259BD #A385CE

Accessibility & contrast

On white

7.77
#643E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#643E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643E9B
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643E9B#FFFFFF#000000##FFFFFF
##643E9B1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A529E
Deuteranopia (green-blind)
#1F5299
Tritanopia (blue-blind)
#585166
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #643e9b;
/* rgb */ color: rgb(100, 62, 155);
/* oklch */ color: oklch(45.6% 0.146 299.4);
Tailwind
colors: {
  custom: {
    50: '#9475b9',
    500: '#643e9b',
    950: '#000000',
  },
}
SCSS
$custom: #643e9b;
$custom-light: #9475b9;
$custom-dark: #000000;
JSON
{
  "hex": "#643e9b",
  "rgb": {
    "r": 100,
    "g": 62,
    "b": 155
  },
  "hsl": {
    "h": 264.516,
    "s": 42.857,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45572,
    "c": 0.14623,
    "h": 299.4
  },
  "luminance": 0.08521
}

Semantic roles & 50–950 ramp

primary
#643E9B
secondary
#A0B97C
accent
#D3559F
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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