#642096#642096

#642096 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.3% C 0.180 H 305.9°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#642096
RGBrgb(100, 32, 150)
HSLhsl(275, 65%, 36%)
HSVhsv(275, 79%, 59%)
CMYKcmyk(33.3%, 78.7%, 0%, 41.2%)
CIE-LABlab(29.27, 50.54, -51.22)
CIE-LCHlch(29.27, 71.96, 314.62°)
OKLaboklab(41.32% 0.1055 -0.1458)
OKLCHoklch(41.32% 0.18 305.9)
XYZxyz(11.2758, 5.9445, 29.4016)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642096 #529620
analogous
#292096 #642096 #96208D
triadic
#642096 #966420 #209664
tetradic
#642096 #962920 #529620 #208D96
square
#642096 #962920 #529620 #208D96
split-complementary
#642096 #8D9620 #209629
monochromatic
#210A31 #421564 #642096 #862BC8 #A256DB

Accessibility & contrast

On white

9.59
#642096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#642096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642096
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642096#FFFFFF#000000##FFFFFF
##6420961.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#5B3E5A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #642096;
/* rgb */ color: rgb(100, 32, 150);
/* oklch */ color: oklch(41.3% 0.180 305.9);
Tailwind
colors: {
  custom: {
    50: '#9564b6',
    500: '#642096',
    950: '#000000',
  },
}
SCSS
$custom: #642096;
$custom-light: #9564b6;
$custom-dark: #000000;
JSON
{
  "hex": "#642096",
  "rgb": {
    "r": 100,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 274.576,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41316,
    "c": 0.17997,
    "h": 305.9
  },
  "luminance": 0.05944
}

Semantic roles & 50–950 ramp

primary
#642096
secondary
#81BE53
accent
#E84087
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #642096

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

Preview Lab → · Contrast checker → · Palette generator →

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