#643391#643391

#643391 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.2% C 0.150 H 304.9°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#643391
RGBrgb(100, 51, 145)
HSLhsl(271, 48%, 38%)
HSVhsv(271, 65%, 57%)
CMYKcmyk(31%, 64.8%, 0%, 43.1%)
CIE-LABlab(32.08, 40.40, -43.60)
CIE-LCHlch(32.08, 59.44, 312.82°)
OKLaboklab(43.2% 0.086 -0.1235)
OKLCHoklch(43.2% 0.151 304.9)
XYZxyz(11.5491, 7.1214, 27.5487)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643391 #609133
analogous
#353391 #643391 #91338F
triadic
#643391 #916433 #339164
tetradic
#643391 #913533 #609133 #338F91
square
#643391 #913533 #609133 #338F91
split-complementary
#643391 #8F9133 #339135
monochromatic
#261336 #452364 #643391 #8344BD #A171CD

Accessibility & contrast

On white

8.66
#643391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#643391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643391
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643391#FFFFFF#000000##FFFFFF
##6433911.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#1B4C8F
Tritanopia (blue-blind)
#5C475D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #643391;
/* rgb */ color: rgb(100, 51, 145);
/* oklch */ color: oklch(43.2% 0.150 304.9);
Tailwind
colors: {
  custom: {
    50: '#946eb2',
    500: '#643391',
    950: '#000000',
  },
}
SCSS
$custom: #643391;
$custom-light: #946eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#643391",
  "rgb": {
    "r": 100,
    "g": 51,
    "b": 145
  },
  "hsl": {
    "h": 271.277,
    "s": 47.959,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43199,
    "c": 0.1505,
    "h": 304.9
  },
  "luminance": 0.07121
}

Semantic roles & 50–950 ramp

primary
#643391
secondary
#8EB56B
accent
#D85091
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #643391

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

Preview Lab → · Contrast checker → · Palette generator →

#643391 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva