#643287#643287

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

Color values

HEX#643287
RGBrgb(100, 50, 135)
HSLhsl(275, 46%, 36%)
HSVhsv(275, 63%, 53%)
CMYKcmyk(25.9%, 63%, 0%, 47.1%)
CIE-LABlab(31.21, 38.46, -38.83)
CIE-LCHlch(31.21, 54.65, 314.72°)
OKLaboklab(42.35% 0.0877 -0.1095)
OKLCHoklch(42.35% 0.14 308.7)
XYZxyz(10.7684, 6.7400, 23.6506)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643287 #558732
analogous
#3A3287 #643287 #873280
triadic
#643287 #876432 #328764
tetradic
#643287 #873A32 #558732 #328087
square
#643287 #873A32 #558732 #328087
split-complementary
#643287 #808732 #32873A
monochromatic
#22112E #43215A #643287 #8543B4 #A26BC8

Accessibility & contrast

On white

8.94
#643287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#643287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643287
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643287#FFFFFF#000000##FFFFFF
##6432871.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B478A
Deuteranopia (green-blind)
#264A85
Tritanopia (blue-blind)
#5F4357
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #643287;
/* rgb */ color: rgb(100, 50, 135);
/* oklch */ color: oklch(42.3% 0.140 308.7);
Tailwind
colors: {
  custom: {
    50: '#936daa',
    500: '#643287',
    950: '#000000',
  },
}
SCSS
$custom: #643287;
$custom-light: #936daa;
$custom-dark: #000000;
JSON
{
  "hex": "#643287",
  "rgb": {
    "r": 100,
    "g": 50,
    "b": 135
  },
  "hsl": {
    "h": 275.294,
    "s": 45.946,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42349,
    "c": 0.14032,
    "h": 308.7
  },
  "luminance": 0.0674
}

Semantic roles & 50–950 ramp

primary
#643287
secondary
#84B065
accent
#D65288
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0D0710
muted
#7E7A7F

Preview Lab

Preview with #643287

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

Preview Lab → · Contrast checker → · Palette generator →

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