#643186#643186

#643186 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.1% C 0.141 H 309.3°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#643186
RGBrgb(100, 49, 134)
HSLhsl(276, 46%, 36%)
HSVhsv(276, 63%, 53%)
CMYKcmyk(25.4%, 63.4%, 0%, 47.5%)
CIE-LABlab(30.94, 38.75, -38.63)
CIE-LCHlch(30.94, 54.72, 315.09°)
OKLaboklab(42.14% 0.0891 -0.1089)
OKLCHoklch(42.14% 0.141 309.3)
XYZxyz(10.6561, 6.6274, 23.2675)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643186 #538631
analogous
#393186 #643186 #86317D
triadic
#643186 #866431 #318664
tetradic
#643186 #863931 #538631 #317D86
square
#643186 #863931 #538631 #317D86
split-complementary
#643186 #7D8631 #318639
monochromatic
#21102C #432159 #643186 #8541B3 #A269C8

Accessibility & contrast

On white

9.03
#643186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #643186
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643186#FFFFFF#000000##FFFFFF
##6431861.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4789
Deuteranopia (green-blind)
#254A84
Tritanopia (blue-blind)
#5F4257
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #643186;
/* rgb */ color: rgb(100, 49, 134);
/* oklch */ color: oklch(42.1% 0.141 309.3);
Tailwind
colors: {
  custom: {
    50: '#936caa',
    500: '#643186',
    950: '#000000',
  },
}
SCSS
$custom: #643186;
$custom-light: #936caa;
$custom-dark: #000000;
JSON
{
  "hex": "#643186",
  "rgb": {
    "r": 100,
    "g": 49,
    "b": 134
  },
  "hsl": {
    "h": 276,
    "s": 46.448,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42136,
    "c": 0.1407,
    "h": 309.3
  },
  "luminance": 0.06627
}

Semantic roles & 50–950 ramp

primary
#643186
secondary
#82B063
accent
#D65287
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #643186

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

Preview Lab → · Contrast checker → · Palette generator →

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