#642196#642196

#642196 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.179 H 305.8°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#642196
RGBrgb(100, 33, 150)
HSLhsl(274, 64%, 36%)
HSVhsv(274, 78%, 59%)
CMYKcmyk(33.3%, 78%, 0%, 41.2%)
CIE-LABlab(29.41, 50.15, -50.99)
CIE-LCHlch(29.41, 71.52, 314.52°)
OKLaboklab(41.41% 0.1047 -0.1451)
OKLCHoklch(41.41% 0.179 305.8)
XYZxyz(11.3032, 5.9991, 29.4107)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#642196 #539621
analogous
#292196 #642196 #96218D
triadic
#642196 #966421 #219664
tetradic
#642196 #962921 #539621 #218D96
square
#642196 #962921 #539621 #218D96
split-complementary
#642196 #8D9621 #219629
monochromatic
#210B32 #431664 #642196 #852CC8 #A257DA

Accessibility & contrast

On white

9.55
#642196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#642196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #642196
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##642196#FFFFFF#000000##FFFFFF
##6421961.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #642196;
/* rgb */ color: rgb(100, 33, 150);
/* oklch */ color: oklch(41.4% 0.179 305.8);
Tailwind
colors: {
  custom: {
    50: '#9564b6',
    500: '#642196',
    950: '#000000',
  },
}
SCSS
$custom: #642196;
$custom-light: #9564b6;
$custom-dark: #000000;
JSON
{
  "hex": "#642196",
  "rgb": {
    "r": 100,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 274.359,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41413,
    "c": 0.17892,
    "h": 305.8
  },
  "luminance": 0.05999
}

Semantic roles & 50–950 ramp

primary
#642196
secondary
#82BE55
accent
#E74188
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #642196

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

Preview Lab → · Contrast checker → · Palette generator →

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