#643188#643188

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

Color values

HEX#643188
RGBrgb(100, 49, 136)
HSLhsl(275, 47%, 36%)
HSVhsv(275, 64%, 53%)
CMYKcmyk(26.5%, 64%, 0%, 46.7%)
CIE-LABlab(31.08, 39.24, -39.66)
CIE-LCHlch(31.08, 55.79, 314.69°)
OKLaboklab(42.28% 0.089 -0.1119)
OKLCHoklch(42.28% 0.143 308.5)
XYZxyz(10.7969, 6.6837, 24.0091)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643188 #558831
analogous
#393188 #643188 #883181
triadic
#643188 #886431 #318864
tetradic
#643188 #883931 #558831 #318188
square
#643188 #883931 #558831 #318188
split-complementary
#643188 #818831 #318839
monochromatic
#22112E #43215B #643188 #8541B5 #A26AC9

Accessibility & contrast

On white

8.99
#643188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #643188
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643188#FFFFFF#000000##FFFFFF
##6431881.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04478B
Deuteranopia (green-blind)
#234A86
Tritanopia (blue-blind)
#5F4258
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #643188;
/* rgb */ color: rgb(100, 49, 136);
/* oklch */ color: oklch(42.3% 0.143 308.5);
Tailwind
colors: {
  custom: {
    50: '#936cab',
    500: '#643188',
    950: '#000000',
  },
}
SCSS
$custom: #643188;
$custom-light: #936cab;
$custom-dark: #000000;
JSON
{
  "hex": "#643188",
  "rgb": {
    "r": 100,
    "g": 49,
    "b": 136
  },
  "hsl": {
    "h": 275.172,
    "s": 47.027,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42275,
    "c": 0.14302,
    "h": 308.5
  },
  "luminance": 0.06684
}

Semantic roles & 50–950 ramp

primary
#643188
secondary
#84B164
accent
#D75188
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #643188

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

Preview Lab → · Contrast checker → · Palette generator →

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