#642970#642970

#642970 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 39.6% C 0.129 H 320.5°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#642970
RGBrgb(100, 41, 112)
HSLhsl(290, 46%, 30%)
HSVhsv(290, 63%, 44%)
CMYKcmyk(10.7%, 63.4%, 0%, 56.1%)
CIE-LABlab(28.02, 37.92, -29.44)
CIE-LCHlch(28.02, 48.00, 322.18°)
OKLaboklab(39.57% 0.0997 -0.082)
OKLCHoklch(39.57% 0.129 320.5)
XYZxyz(8.9728, 5.4655, 15.9084)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642970 #357029
analogous
#402970 #642970 #702959
triadic
#642970 #706429 #297064
tetradic
#642970 #704029 #357029 #295970
square
#642970 #704029 #357029 #295970
split-complementary
#642970 #597029 #297040
monochromatic
#140816 #3C1943 #642970 #8C399D #AE53C0

Accessibility & contrast

On white

10.03
#642970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#642970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642970
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642970#FFFFFF#000000##FFFFFF
##6429701.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193E72
Deuteranopia (green-blind)
#2F446E
Tritanopia (blue-blind)
#653448
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #642970;
/* rgb */ color: rgb(100, 41, 112);
/* oklch */ color: oklch(39.6% 0.129 320.5);
Tailwind
colors: {
  custom: {
    50: '#926799',
    500: '#642970',
    950: '#000000',
  },
}
SCSS
$custom: #642970;
$custom-light: #926799;
$custom-dark: #000000;
JSON
{
  "hex": "#642970",
  "rgb": {
    "r": 100,
    "g": 41,
    "b": 112
  },
  "hsl": {
    "h": 289.859,
    "s": 46.405,
    "l": 30
  },
  "oklch": {
    "l": 0.39568,
    "c": 0.12905,
    "h": 320.5
  },
  "luminance": 0.05465
}

Semantic roles & 50–950 ramp

primary
#642970
secondary
#60A253
accent
#D65268
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #642970

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

Preview Lab → · Contrast checker → · Palette generator →

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