#643286#643286

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

Color values

HEX#643286
RGBrgb(100, 50, 134)
HSLhsl(276, 46%, 36%)
HSVhsv(276, 63%, 53%)
CMYKcmyk(25.4%, 62.7%, 0%, 47.5%)
CIE-LABlab(31.14, 38.22, -38.32)
CIE-LCHlch(31.14, 54.12, 314.93°)
OKLaboklab(42.28% 0.0878 -0.108)
OKLCHoklch(42.28% 0.139 309.1)
XYZxyz(10.6984, 6.7119, 23.2816)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643286 #548632
analogous
#3A3286 #643286 #86327E
triadic
#643286 #866432 #328664
tetradic
#643286 #863A32 #548632 #327E86
square
#643286 #863A32 #548632 #327E86
split-complementary
#643286 #7E8632 #32863A
monochromatic
#21112D #432159 #643286 #8543B3 #A26BC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##643286#FFFFFF#000000##FFFFFF
##6432861.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)
#0D4789
Deuteranopia (green-blind)
#274A84
Tritanopia (blue-blind)
#5F4257
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #643286;
/* rgb */ color: rgb(100, 50, 134);
/* oklch */ color: oklch(42.3% 0.139 309.1);
Tailwind
colors: {
  custom: {
    50: '#936daa',
    500: '#643286',
    950: '#000000',
  },
}
SCSS
$custom: #643286;
$custom-light: #936daa;
$custom-dark: #000000;
JSON
{
  "hex": "#643286",
  "rgb": {
    "r": 100,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 275.714,
    "s": 45.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4228,
    "c": 0.13915,
    "h": 309.1
  },
  "luminance": 0.06712
}

Semantic roles & 50–950 ramp

primary
#643286
secondary
#83AF64
accent
#D55287
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #643286

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

Preview Lab → · Contrast checker → · Palette generator →

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