#643278#643278

#643278 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.4% C 0.123 H 315.3°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#643278
RGBrgb(100, 50, 120)
HSLhsl(283, 41%, 33%)
HSVhsv(283, 58%, 47%)
CMYKcmyk(16.7%, 58.3%, 0%, 52.9%)
CIE-LABlab(30.27, 34.90, -30.95)
CIE-LCHlch(30.27, 46.64, 318.44°)
OKLaboklab(41.36% 0.0874 -0.0864)
OKLCHoklch(41.36% 0.123 315.3)
XYZxyz(9.7858, 6.3469, 18.4752)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#643278 #467832
analogous
#413278 #643278 #783269
triadic
#643278 #786432 #327864
tetradic
#643278 #784132 #467832 #326978
square
#643278 #784132 #467832 #326978
split-complementary
#643278 #697832 #327841
monochromatic
#1C0E22 #40204D #643278 #8844A3 #A565BF

Accessibility & contrast

On white

9.25
#643278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#643278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #643278
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##643278#FFFFFF#000000##FFFFFF
##6432781.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20447A
Deuteranopia (green-blind)
#324976
Tritanopia (blue-blind)
#633E50
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #643278;
/* rgb */ color: rgb(100, 50, 120);
/* oklch */ color: oklch(41.4% 0.123 315.3);
Tailwind
colors: {
  custom: {
    50: '#926c9f',
    500: '#643278',
    950: '#000000',
  },
}
SCSS
$custom: #643278;
$custom-light: #926c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#643278",
  "rgb": {
    "r": 100,
    "g": 50,
    "b": 120
  },
  "hsl": {
    "h": 282.857,
    "s": 41.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41364,
    "c": 0.12294,
    "h": 315.3
  },
  "luminance": 0.06347
}

Semantic roles & 50–950 ramp

primary
#643278
secondary
#74A75F
accent
#D1577A
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D070E
muted
#7E7A7E

Preview Lab

Preview with #643278

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

Preview Lab → · Contrast checker → · Palette generator →

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