#642168#642168

#642168 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.1% C 0.133 H 325.5°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#642168
RGBrgb(100, 33, 104)
HSLhsl(297, 52%, 27%)
HSVhsv(297, 68%, 41%)
CMYKcmyk(3.8%, 68.3%, 0%, 59.2%)
CIE-LABlab(26.15, 40.14, -27.26)
CIE-LCHlch(26.15, 48.52, 325.81°)
OKLaboklab(38.06% 0.1099 -0.0756)
OKLCHoklch(38.06% 0.133 325.5)
XYZxyz(8.2979, 4.7970, 13.5829)
Luminance0.0480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642168 #256821
analogous
#412168 #642168 #682149
triadic
#642168 #686421 #216864
tetradic
#642168 #684121 #256821 #214968
square
#642168 #684121 #256821 #214968
split-complementary
#642168 #496821 #216841
monochromatic
#160717 #37123A #642168 #913096 #BB41C3

Accessibility & contrast

On white

10.72
#642168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#642168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642168
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642168#FFFFFF#000000##FFFFFF
##6421681.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14396A
Deuteranopia (green-blind)
#2F4166
Tritanopia (blue-blind)
#662B41
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #642168;
/* rgb */ color: rgb(100, 33, 104);
/* oklch */ color: oklch(38.1% 0.133 325.5);
Tailwind
colors: {
  custom: {
    50: '#936293',
    500: '#642168',
    950: '#000000',
  },
}
SCSS
$custom: #642168;
$custom-light: #936293;
$custom-dark: #000000;
JSON
{
  "hex": "#642168",
  "rgb": {
    "r": 100,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 296.62,
    "s": 51.825,
    "l": 26.863
  },
  "oklch": {
    "l": 0.38056,
    "c": 0.13337,
    "h": 325.5
  },
  "luminance": 0.04797
}

Semantic roles & 50–950 ramp

primary
#642168
secondary
#4E9C49
accent
#DB4D55
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0D050D
muted
#7E7A7E

Preview Lab

Preview with #642168

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

Preview Lab → · Contrast checker → · Palette generator →

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