#642199#642199

#642199 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.182 H 304.8°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#642199
RGBrgb(100, 33, 153)
HSLhsl(274, 65%, 36%)
HSVhsv(274, 78%, 60%)
CMYKcmyk(34.6%, 78.4%, 0%, 40%)
CIE-LABlab(29.66, 50.85, -52.43)
CIE-LCHlch(29.66, 73.04, 314.12°)
OKLaboklab(41.66% 0.1039 -0.1493)
OKLCHoklch(41.66% 0.182 304.8)
XYZxyz(11.5478, 6.0970, 30.6993)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642199 #569921
analogous
#282199 #642199 #992192
triadic
#642199 #996421 #219964
tetradic
#642199 #992821 #569921 #219299
square
#642199 #992821 #569921 #219299
split-complementary
#642199 #929921 #219928
monochromatic
#220B34 #431667 #642199 #852CCB #A259DB

Accessibility & contrast

On white

9.46
#642199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#642199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642199
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642199#FFFFFF#000000##FFFFFF
##6421991.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #642199;
/* rgb */ color: rgb(100, 33, 153);
/* oklch */ color: oklch(41.7% 0.182 304.8);
Tailwind
colors: {
  custom: {
    50: '#9564b8',
    500: '#642199',
    950: '#000000',
  },
}
SCSS
$custom: #642199;
$custom-light: #9564b8;
$custom-dark: #000000;
JSON
{
  "hex": "#642199",
  "rgb": {
    "r": 100,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 273.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41662,
    "c": 0.18195,
    "h": 304.8
  },
  "luminance": 0.06097
}

Semantic roles & 50–950 ramp

primary
#642199
secondary
#85BF56
accent
#E8408A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #642199

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

Preview Lab → · Contrast checker → · Palette generator →

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