#643187#643187

#643187 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.2% C 0.142 H 308.9°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#643187
RGBrgb(100, 49, 135)
HSLhsl(276, 47%, 36%)
HSVhsv(276, 64%, 53%)
CMYKcmyk(25.9%, 63.7%, 0%, 47.1%)
CIE-LABlab(31.01, 39.00, -39.15)
CIE-LCHlch(31.01, 55.26, 314.89°)
OKLaboklab(42.21% 0.089 -0.1104)
OKLCHoklch(42.21% 0.142 308.9)
XYZxyz(10.7261, 6.6554, 23.6365)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643187 #548731
analogous
#393187 #643187 #87317F
triadic
#643187 #876431 #318764
tetradic
#643187 #873931 #548731 #317F87
square
#643187 #873931 #548731 #317F87
split-complementary
#643187 #7F8731 #318739
monochromatic
#21102D #43215A #643187 #8541B4 #A26AC9

Accessibility & contrast

On white

9.01
#643187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#643187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643187
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643187#FFFFFF#000000##FFFFFF
##6431871.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07478A
Deuteranopia (green-blind)
#244A85
Tritanopia (blue-blind)
#5F4257
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #643187;
/* rgb */ color: rgb(100, 49, 135);
/* oklch */ color: oklch(42.2% 0.142 308.9);
Tailwind
colors: {
  custom: {
    50: '#936caa',
    500: '#643187',
    950: '#000000',
  },
}
SCSS
$custom: #643187;
$custom-light: #936caa;
$custom-dark: #000000;
JSON
{
  "hex": "#643187",
  "rgb": {
    "r": 100,
    "g": 49,
    "b": 135
  },
  "hsl": {
    "h": 275.581,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42205,
    "c": 0.14186,
    "h": 308.9
  },
  "luminance": 0.06655
}

Semantic roles & 50–950 ramp

primary
#643187
secondary
#83B064
accent
#D65188
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #643187

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

Preview Lab → · Contrast checker → · Palette generator →

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