#642A69#642A69

#642A69 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.3% C 0.120 H 324.4°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#642A69
RGBrgb(100, 42, 105)
HSLhsl(295, 43%, 29%)
HSVhsv(295, 60%, 41%)
CMYKcmyk(4.8%, 60%, 0%, 58.8%)
CIE-LABlab(27.81, 35.94, -25.29)
CIE-LCHlch(27.81, 43.94, 324.87°)
OKLaboklab(39.28% 0.0977 -0.07)
OKLCHoklch(39.28% 0.12 324.4)
XYZxyz(8.6331, 5.3856, 13.9467)
Luminance0.0539 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642A69 #2F692A
analogous
#452A69 #642A69 #692A4F
triadic
#642A69 #69642A #2A6964
tetradic
#642A69 #69452A #2F692A #2A4F69
square
#642A69 #69452A #2F692A #2A4F69
split-complementary
#642A69 #4F692A #2A6945
monochromatic
#150916 #3A193D #642A69 #8E3B95 #B253BA

Accessibility & contrast

On white

10.11
#642A69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#642A69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642A69
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642A69#FFFFFF#000000##FFFFFF
##642A691.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213D6B
Deuteranopia (green-blind)
#344467
Tritanopia (blue-blind)
#663245
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #642a69;
/* rgb */ color: rgb(100, 42, 105);
/* oklch */ color: oklch(39.3% 0.120 324.4);
Tailwind
colors: {
  custom: {
    50: '#926794',
    500: '#642a69',
    950: '#000000',
  },
}
SCSS
$custom: #642a69;
$custom-light: #926794;
$custom-dark: #000000;
JSON
{
  "hex": "#642a69",
  "rgb": {
    "r": 100,
    "g": 42,
    "b": 105
  },
  "hsl": {
    "h": 295.238,
    "s": 42.857,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3928,
    "c": 0.1202,
    "h": 324.4
  },
  "luminance": 0.05385
}

Semantic roles & 50–950 ramp

primary
#642A69
secondary
#599B54
accent
#D3555F
background
#F9F6F9
surface
#F1EBF1
border
#CBC6CB
text
#0D060D
muted
#7E7A7E

Preview Lab

Preview with #642A69

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

Preview Lab → · Contrast checker → · Palette generator →

#642A69 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva