#642665#642665

#642665 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.5% C 0.123 H 327.0°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#642665
RGBrgb(100, 38, 101)
HSLhsl(299, 45%, 27%)
HSVhsv(299, 62%, 40%)
CMYKcmyk(1%, 62.4%, 0%, 60.4%)
CIE-LABlab(26.84, 37.17, -24.23)
CIE-LCHlch(26.84, 44.37, 326.90°)
OKLaboklab(38.5% 0.103 -0.0669)
OKLCHoklch(38.5% 0.123 327)
XYZxyz(8.2975, 5.0356, 12.8443)
Luminance0.0503 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642665 #276526
analogous
#452665 #642665 #652646
triadic
#642665 #656426 #266564
tetradic
#642665 #654526 #276526 #264665
square
#642665 #654526 #276526 #264665
split-complementary
#642665 #466526 #266545
monochromatic
#160816 #381539 #642665 #903791 #B94ABB

Accessibility & contrast

On white

10.46
#642665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#642665 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642665
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642665#FFFFFF#000000##FFFFFF
##6426651.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3A67
Deuteranopia (green-blind)
#344263
Tritanopia (blue-blind)
#672E41
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #642665;
/* rgb */ color: rgb(100, 38, 101);
/* oklch */ color: oklch(38.5% 0.123 327.0);
Tailwind
colors: {
  custom: {
    50: '#926591',
    500: '#642665',
    950: '#000000',
  },
}
SCSS
$custom: #642665;
$custom-light: #926591;
$custom-dark: #000000;
JSON
{
  "hex": "#642665",
  "rgb": {
    "r": 100,
    "g": 38,
    "b": 101
  },
  "hsl": {
    "h": 299.048,
    "s": 45.324,
    "l": 27.255
  },
  "oklch": {
    "l": 0.38499,
    "c": 0.12282,
    "h": 327
  },
  "luminance": 0.05035
}

Semantic roles & 50–950 ramp

primary
#642665
secondary
#50984F
accent
#D55355
background
#F9F6F8
surface
#F1EBF0
border
#CBC6CB
text
#0D060D
muted
#7E7A7D

Preview Lab

Preview with #642665

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

Preview Lab → · Contrast checker → · Palette generator →

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