#643277#643277

#643277 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.3% C 0.122 H 315.8°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#643277
RGBrgb(100, 50, 119)
HSLhsl(283, 41%, 33%)
HSVhsv(283, 58%, 47%)
CMYKcmyk(16%, 58%, 0%, 53.3%)
CIE-LABlab(30.21, 34.67, -30.41)
CIE-LCHlch(30.21, 46.12, 318.75°)
OKLaboklab(41.3% 0.0873 -0.0849)
OKLCHoklch(41.3% 0.122 315.8)
XYZxyz(9.7254, 6.3228, 18.1573)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643277 #457732
analogous
#413277 #643277 #773267
triadic
#643277 #776432 #327764
tetradic
#643277 #774132 #457732 #326777
square
#643277 #774132 #457732 #326777
split-complementary
#643277 #677732 #327741
monochromatic
#1C0E21 #40204C #643277 #8844A2 #A665BE

Accessibility & contrast

On white

9.27
#643277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#643277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643277
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643277#FFFFFF#000000##FFFFFF
##6432771.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214479
Deuteranopia (green-blind)
#324975
Tritanopia (blue-blind)
#633D4F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #643277;
/* rgb */ color: rgb(100, 50, 119);
/* oklch */ color: oklch(41.3% 0.122 315.8);
Tailwind
colors: {
  custom: {
    50: '#926c9e',
    500: '#643277',
    950: '#000000',
  },
}
SCSS
$custom: #643277;
$custom-light: #926c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#643277",
  "rgb": {
    "r": 100,
    "g": 50,
    "b": 119
  },
  "hsl": {
    "h": 283.478,
    "s": 40.828,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41302,
    "c": 0.12179,
    "h": 315.8
  },
  "luminance": 0.06322
}

Semantic roles & 50–950 ramp

primary
#643277
secondary
#72A65F
accent
#D15779
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #643277

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

Preview Lab → · Contrast checker → · Palette generator →

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