#643F91#643F91

#643F91 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.1% C 0.132 H 302.2°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#643F91
RGBrgb(100, 63, 145)
HSLhsl(267, 39%, 41%)
HSVhsv(267, 57%, 57%)
CMYKcmyk(31%, 56.6%, 0%, 43.1%)
CIE-LABlab(34.62, 33.64, -39.53)
CIE-LCHlch(34.62, 51.91, 310.40°)
OKLaboklab(45.05% 0.0703 -0.1116)
OKLCHoklch(45.05% 0.132 302.2)
XYZxyz(12.1427, 8.3087, 27.7466)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643F91 #6C913F
analogous
#3F4391 #643F91 #8D3F91
triadic
#643F91 #91643F #3F9164
tetradic
#643F91 #913F43 #6C913F #3F918D
square
#643F91 #913F43 #6C913F #3F918D
split-complementary
#643F91 #918D3F #43913F
monochromatic
#291A3C #472C66 #643F91 #8257B6 #A282C9

Accessibility & contrast

On white

7.89
#643F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#643F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643F91
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643F91#FFFFFF#000000##FFFFFF
##643F911.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5194
Deuteranopia (green-blind)
#2C518F
Tritanopia (blue-blind)
#5B4F62
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #643f91;
/* rgb */ color: rgb(100, 63, 145);
/* oklch */ color: oklch(45.1% 0.132 302.2);
Tailwind
colors: {
  custom: {
    50: '#9375b2',
    500: '#643f91',
    950: '#000000',
  },
}
SCSS
$custom: #643f91;
$custom-light: #9375b2;
$custom-dark: #000000;
JSON
{
  "hex": "#643f91",
  "rgb": {
    "r": 100,
    "g": 63,
    "b": 145
  },
  "hsl": {
    "h": 267.073,
    "s": 39.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4505,
    "c": 0.1319,
    "h": 302.2
  },
  "luminance": 0.08309
}

Semantic roles & 50–950 ramp

primary
#643F91
secondary
#99B379
accent
#CF589A
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0D0811
muted
#7E7B80

Preview Lab

Preview with #643F91

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

Preview Lab → · Contrast checker → · Palette generator →

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