#643189#643189

#643189 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.3% C 0.144 H 308.1°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#643189
RGBrgb(100, 49, 137)
HSLhsl(275, 47%, 36%)
HSVhsv(275, 64%, 54%)
CMYKcmyk(27%, 64.2%, 0%, 46.3%)
CIE-LABlab(31.14, 39.48, -40.18)
CIE-LCHlch(31.14, 56.33, 314.50°)
OKLaboklab(42.35% 0.089 -0.1134)
OKLCHoklch(42.35% 0.144 308.1)
XYZxyz(10.8683, 6.7123, 24.3851)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643189 #568931
analogous
#383189 #643189 #893182
triadic
#643189 #896431 #318964
tetradic
#643189 #893831 #568931 #318289
square
#643189 #893831 #568931 #318289
split-complementary
#643189 #828931 #318938
monochromatic
#22112F #43215C #643189 #8541B6 #A26BCA

Accessibility & contrast

On white

8.97
#643189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#643189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643189
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643189#FFFFFF#000000##FFFFFF
##6431891.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02478C
Deuteranopia (green-blind)
#224A87
Tritanopia (blue-blind)
#5E4358
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #643189;
/* rgb */ color: rgb(100, 49, 137);
/* oklch */ color: oklch(42.3% 0.144 308.1);
Tailwind
colors: {
  custom: {
    50: '#936cac',
    500: '#643189',
    950: '#000000',
  },
}
SCSS
$custom: #643189;
$custom-light: #936cac;
$custom-dark: #000000;
JSON
{
  "hex": "#643189",
  "rgb": {
    "r": 100,
    "g": 49,
    "b": 137
  },
  "hsl": {
    "h": 274.773,
    "s": 47.312,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42345,
    "c": 0.14417,
    "h": 308.1
  },
  "luminance": 0.06712
}

Semantic roles & 50–950 ramp

primary
#643189
secondary
#85B164
accent
#D75189
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #643189

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

Preview Lab → · Contrast checker → · Palette generator →

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