#642159#642159

#642159 is a dark, moderate purple. Relative luminance 0.045; OKLCH L 37.2% C 0.120 H 334.8°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#642159
RGBrgb(100, 33, 89)
HSLhsl(310, 50%, 26%)
HSVhsv(310, 67%, 39%)
CMYKcmyk(0%, 67%, 11%, 60.8%)
CIE-LABlab(25.32, 37.34, -18.76)
CIE-LCHlch(25.32, 41.79, 333.32°)
OKLaboklab(37.18% 0.1084 -0.0511)
OKLCHoklch(37.18% 0.12 334.8)
XYZxyz(7.6026, 4.5189, 9.9211)
Luminance0.0452 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642159 #21642C
analogous
#4D2164 #642159 #642137
triadic
#642159 #596421 #215964
tetradic
#642159 #644D21 #21642C #213764
square
#642159 #644D21 #21642C #213764
split-complementary
#642159 #376421 #21644D
monochromatic
#170814 #361230 #642159 #923082 #C040AB

Accessibility & contrast

On white

11.03
#642159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#642159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642159
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642159#FFFFFF#000000##FFFFFF
##6421591.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21365B
Deuteranopia (green-blind)
#364057
Tritanopia (blue-blind)
#692539
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #642159;
/* rgb */ color: rgb(100, 33, 89);
/* oklch */ color: oklch(37.2% 0.120 334.8);
Tailwind
colors: {
  custom: {
    50: '#926288',
    500: '#642159',
    950: '#000000',
  },
}
SCSS
$custom: #642159;
$custom-light: #926288;
$custom-dark: #000000;
JSON
{
  "hex": "#642159",
  "rgb": {
    "r": 100,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 309.851,
    "s": 50.376,
    "l": 26.078
  },
  "oklch": {
    "l": 0.37182,
    "c": 0.11988,
    "h": 334.8
  },
  "luminance": 0.04518
}

Semantic roles & 50–950 ramp

primary
#642159
secondary
#499856
accent
#DA654E
background
#F9F6F8
surface
#F2EBEF
border
#CCC6CA
text
#0D050B
muted
#7E7A7C

Preview Lab

Preview with #642159

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

Preview Lab → · Contrast checker → · Palette generator →

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