#642276#642276

#642276 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.1% C 0.146 H 318.2°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#642276
RGBrgb(100, 34, 118)
HSLhsl(287, 55%, 30%)
HSVhsv(287, 71%, 46%)
CMYKcmyk(15.3%, 71.2%, 0%, 53.7%)
CIE-LABlab(27.19, 42.55, -34.59)
CIE-LCHlch(27.19, 54.83, 320.89°)
OKLaboklab(39.09% 0.1085 -0.097)
OKLCHoklch(39.09% 0.146 318.2)
XYZxyz(9.0971, 5.1618, 17.6532)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642276 #347622
analogous
#3A2276 #642276 #76225E
triadic
#642276 #766422 #227664
tetradic
#642276 #763A22 #347622 #225E76
square
#642276 #763A22 #347622 #225E76
split-complementary
#642276 #5E7622 #22763A
monochromatic
#140718 #3C1446 #642276 #8C30A6 #AE48CA

Accessibility & contrast

On white

10.33
#642276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#642276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642276
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642276#FFFFFF#000000##FFFFFF
##6422761.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C78
Deuteranopia (green-blind)
#264274
Tritanopia (blue-blind)
#643249
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #642276;
/* rgb */ color: rgb(100, 34, 118);
/* oklch */ color: oklch(39.1% 0.146 318.2);
Tailwind
colors: {
  custom: {
    50: '#93639e',
    500: '#642276',
    950: '#000000',
  },
}
SCSS
$custom: #642276;
$custom-light: #93639e;
$custom-dark: #000000;
JSON
{
  "hex": "#642276",
  "rgb": {
    "r": 100,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 287.143,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3909,
    "c": 0.14553,
    "h": 318.2
  },
  "luminance": 0.05161
}

Semantic roles & 50–950 ramp

primary
#642276
secondary
#5FA94B
accent
#DF4969
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #642276

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

Preview Lab → · Contrast checker → · Palette generator →

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