#642074#642074

#642074 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.7% C 0.146 H 319.3°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#642074
RGBrgb(100, 32, 116)
HSLhsl(289, 57%, 29%)
HSVhsv(289, 72%, 45%)
CMYKcmyk(13.8%, 72.4%, 0%, 54.5%)
CIE-LABlab(26.75, 43.01, -34.03)
CIE-LCHlch(26.75, 54.84, 321.65°)
OKLaboklab(38.73% 0.1109 -0.0953)
OKLCHoklch(38.73% 0.146 319.3)
XYZxyz(8.9240, 5.0037, 17.0154)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642074 #307420
analogous
#3A2074 #642074 #74205A
triadic
#642074 #746420 #207464
tetradic
#642074 #743A20 #307420 #205A74
square
#642074 #743A20 #307420 #205A74
split-complementary
#642074 #5A7420 #20743A
monochromatic
#150718 #3B1344 #642074 #8D2DA4 #B143CB

Accessibility & contrast

On white

10.50
#642074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#642074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642074
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642074#FFFFFF#000000##FFFFFF
##6420741.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B76
Deuteranopia (green-blind)
#264272
Tritanopia (blue-blind)
#643047
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #642074;
/* rgb */ color: rgb(100, 32, 116);
/* oklch */ color: oklch(38.7% 0.146 319.3);
Tailwind
colors: {
  custom: {
    50: '#93629c',
    500: '#642074',
    950: '#000000',
  },
}
SCSS
$custom: #642074;
$custom-light: #93629c;
$custom-dark: #000000;
JSON
{
  "hex": "#642074",
  "rgb": {
    "r": 100,
    "g": 32,
    "b": 116
  },
  "hsl": {
    "h": 288.571,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38728,
    "c": 0.14627,
    "h": 319.3
  },
  "luminance": 0.05003
}

Semantic roles & 50–950 ramp

primary
#642074
secondary
#5AA848
accent
#E04865
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #642074

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

Preview Lab → · Contrast checker → · Palette generator →

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