#642667#642667

#642667 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 38.6% C 0.125 H 325.8°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#642667
RGBrgb(100, 38, 103)
HSLhsl(297, 46%, 28%)
HSVhsv(297, 63%, 40%)
CMYKcmyk(2.9%, 63.1%, 0%, 59.6%)
CIE-LABlab(26.95, 37.56, -25.35)
CIE-LCHlch(26.95, 45.32, 325.99°)
OKLaboklab(38.62% 0.1032 -0.0701)
OKLCHoklch(38.62% 0.125 325.8)
XYZxyz(8.3966, 5.0753, 13.3667)
Luminance0.0508 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642667 #296726
analogous
#442667 #642667 #672649
triadic
#642667 #676426 #266764
tetradic
#642667 #674426 #296726 #264967
square
#642667 #674426 #296726 #264967
split-complementary
#642667 #496726 #266744
monochromatic
#160816 #39163A #642667 #8F3694 #B74BBD

Accessibility & contrast

On white

10.42
#642667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#642667 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642667
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642667#FFFFFF#000000##FFFFFF
##6426671.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3B69
Deuteranopia (green-blind)
#334265
Tritanopia (blue-blind)
#672F42
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #642667;
/* rgb */ color: rgb(100, 38, 103);
/* oklch */ color: oklch(38.6% 0.125 325.8);
Tailwind
colors: {
  custom: {
    50: '#926592',
    500: '#642667',
    950: '#000000',
  },
}
SCSS
$custom: #642667;
$custom-light: #926592;
$custom-dark: #000000;
JSON
{
  "hex": "#642667",
  "rgb": {
    "r": 100,
    "g": 38,
    "b": 103
  },
  "hsl": {
    "h": 297.231,
    "s": 46.099,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38617,
    "c": 0.12476,
    "h": 325.8
  },
  "luminance": 0.05075
}

Semantic roles & 50–950 ramp

primary
#642667
secondary
#529A4F
accent
#D65258
background
#F9F6F9
surface
#F1EBF1
border
#CBC6CB
text
#0D060D
muted
#7E7A7E

Preview Lab

Preview with #642667

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

Preview Lab → · Contrast checker → · Palette generator →

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