#642099#642099

#642099 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.6% C 0.183 H 304.9°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#642099
RGBrgb(100, 32, 153)
HSLhsl(274, 65%, 36%)
HSVhsv(274, 79%, 60%)
CMYKcmyk(34.6%, 79.1%, 0%, 40%)
CIE-LABlab(29.52, 51.24, -52.65)
CIE-LCHlch(29.52, 73.47, 314.22°)
OKLaboklab(41.57% 0.1048 -0.15)
OKLCHoklch(41.57% 0.183 304.9)
XYZxyz(11.5205, 6.0423, 30.6902)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642099 #559920
analogous
#282099 #642099 #992092
triadic
#642099 #996420 #209964
tetradic
#642099 #992820 #559920 #209299
square
#642099 #992820 #559920 #209299
split-complementary
#642099 #929920 #209928
monochromatic
#220B34 #431566 #642099 #852BCC #A257DC

Accessibility & contrast

On white

9.51
#642099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#642099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642099
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642099#FFFFFF#000000##FFFFFF
##6420991.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#5A3F5C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #642099;
/* rgb */ color: rgb(100, 32, 153);
/* oklch */ color: oklch(41.6% 0.183 304.9);
Tailwind
colors: {
  custom: {
    50: '#9664b8',
    500: '#642099',
    950: '#000000',
  },
}
SCSS
$custom: #642099;
$custom-light: #9664b8;
$custom-dark: #000000;
JSON
{
  "hex": "#642099",
  "rgb": {
    "r": 100,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 273.719,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41566,
    "c": 0.18298,
    "h": 304.9
  },
  "luminance": 0.06042
}

Semantic roles & 50–950 ramp

primary
#642099
secondary
#84C055
accent
#E83F89
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #642099

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

Preview Lab → · Contrast checker → · Palette generator →

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