#642670#642670

#642670 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.2% C 0.134 H 320.8°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#642670
RGBrgb(100, 38, 112)
HSLhsl(290, 49%, 29%)
HSVhsv(290, 66%, 44%)
CMYKcmyk(10.7%, 66.1%, 0%, 56.1%)
CIE-LABlab(27.48, 39.41, -30.30)
CIE-LCHlch(27.48, 49.71, 322.44°)
OKLaboklab(39.17% 0.1037 -0.0845)
OKLCHoklch(39.17% 0.134 320.8)
XYZxyz(8.8729, 5.2658, 15.8751)
Luminance0.0527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642670 #327026
analogous
#3F2670 #642670 #702657
triadic
#642670 #706426 #267064
tetradic
#642670 #703F26 #327026 #265770
square
#642670 #703F26 #327026 #265770
split-complementary
#642670 #577026 #26703F
monochromatic
#140817 #3B1642 #642670 #8D369E #B04EC3

Accessibility & contrast

On white

10.23
#642670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#642670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642670
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642670#FFFFFF#000000##FFFFFF
##6426701.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133C72
Deuteranopia (green-blind)
#2D436E
Tritanopia (blue-blind)
#653247
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #642670;
/* rgb */ color: rgb(100, 38, 112);
/* oklch */ color: oklch(39.2% 0.134 320.8);
Tailwind
colors: {
  custom: {
    50: '#936599',
    500: '#642670',
    950: '#000000',
  },
}
SCSS
$custom: #642670;
$custom-light: #936599;
$custom-dark: #000000;
JSON
{
  "hex": "#642670",
  "rgb": {
    "r": 100,
    "g": 38,
    "b": 112
  },
  "hsl": {
    "h": 290.27,
    "s": 49.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39174,
    "c": 0.13372,
    "h": 320.8
  },
  "luminance": 0.05265
}

Semantic roles & 50–950 ramp

primary
#642670
secondary
#5DA34F
accent
#D94F65
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #642670

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

Preview Lab → · Contrast checker → · Palette generator →

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