#642675#642675

#642675 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.5% C 0.139 H 318.3°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#642675
RGBrgb(100, 38, 117)
HSLhsl(287, 51%, 30%)
HSVhsv(287, 68%, 46%)
CMYKcmyk(14.5%, 67.5%, 0%, 54.1%)
CIE-LABlab(27.79, 40.47, -32.99)
CIE-LCHlch(27.79, 52.22, 320.81°)
OKLaboklab(39.5% 0.1037 -0.0923)
OKLCHoklch(39.5% 0.139 318.3)
XYZxyz(9.1591, 5.3803, 17.3822)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642675 #377526
analogous
#3D2675 #642675 #75265E
triadic
#642675 #756426 #267564
tetradic
#642675 #753D26 #377526 #265E75
square
#642675 #753D26 #377526 #265E75
split-complementary
#642675 #5E7526 #26753D
monochromatic
#150819 #3D1747 #642675 #8B35A3 #AC4FC6

Accessibility & contrast

On white

10.12
#642675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#642675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642675
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642675#FFFFFF#000000##FFFFFF
##6426751.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3E77
Deuteranopia (green-blind)
#2A4473
Tritanopia (blue-blind)
#64344A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #642675;
/* rgb */ color: rgb(100, 38, 117);
/* oklch */ color: oklch(39.5% 0.139 318.3);
Tailwind
colors: {
  custom: {
    50: '#93659d',
    500: '#642675',
    950: '#000000',
  },
}
SCSS
$custom: #642675;
$custom-light: #93659d;
$custom-dark: #000000;
JSON
{
  "hex": "#642675",
  "rgb": {
    "r": 100,
    "g": 38,
    "b": 117
  },
  "hsl": {
    "h": 287.089,
    "s": 50.968,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39501,
    "c": 0.13882,
    "h": 318.3
  },
  "luminance": 0.0538
}

Semantic roles & 50–950 ramp

primary
#642675
secondary
#62A74F
accent
#DA4D6C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D060E
muted
#7E7A7E

Preview Lab

Preview with #642675

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

Preview Lab → · Contrast checker → · Palette generator →

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